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