RemoveUserFromRole Method
Syntax
Context.Security.RemoveUserFromRole as L (UserName as C, RoleName as C)
Arguments
- UserNameCharacter
The name of the user to be removed from the role.
- RoleNameCharacter
The name of the role from which the user should be removed.
Returns
- resultLogical
Returns .T. if the user was removed from the role; otherwise .F.
Description
Removes a user from a role.
Discussion
Context.Security.RemoveUserFromRole() removes a user from a role. Check Context.Security.CallResult.Success before using the return value.