TestInGroup - method of object PmUser
Test if the user is or isn't a member of the user group.
b = PmUser.TestInGroup(sGroup)
|sGroups||(String) The list of identifiers of the user groups (separated with comma ',') where the user is searched.|
true - the user is a member of any listed group
false - the user isn't a member of any listed group
If the designer creates a permissions system in the application based on logical user groups, then the method enables to test in the script if the logged-on (or else) user is a member of the group.
Test if the local user is a member of the $OPER