IsUserMemberOfGroup

<< Click to Display Table of Contents >>

 

IsUserMemberOfGroup

IsUserMemberOfGroup(GroupName, [UserName])

This method checks if a user belongs to a certain group. It contains the following parameters:

GroupName: Name of a user group to check

UserName: Name of a user to check. If this parameter is omitted or is an empty String, this method considers the user currently logged in Elipse Water Viewer

 

This method returns True if a user belongs to the GroupName group or False otherwise.

Was this page useful?