IsUserInRole Method
Syntax
Context.Security.IsUserInRole as L (UserName as C, RoleName as C)
Arguments
- UserNameCharacter
The name the user.
- RoleNameCharacter
The name of the role.
Returns
- resultLogical
Returns .T. if user is in the role; otherwise .F.
Description
Checks to see if the user is in a role.
Discussion
Context.Security.IsUserInRole() checks to see if the user is in a role. Check Context.Security.CallResult.Success before using the return value.