GetUserRoles Method
Syntax
Context.Security.GetUserRoles as C (UserName as C = null_value())
Arguments
- UserNameCharacter
The name of the user. If omitted, the currently logged in user is used.
Returns
- resultCharacter
Returns a crlf delimited list of roles.
Description
Gets a list of the roles to which the user belongs.
Discussion
Context.Security.GetUserRoles() gets a list of the roles to which the user belongs. Check Context.Security.CallResult.Success before using the return value.