This function is used to Get the user groups in which a specified user is present.
Syntax:
GetUserGroups(UserName)
where
UserName : Enter the display/login name for the user.
Example:
TextBox1.Value=GetUserGroups(“Tom”) will return all group names in which Tom is present.