GetRolesByUserId Method
Gets the roles for a user.
Required Permissions
AdminUserReadSyntax
public Role[] GetRolesByUserId(
System.long userId
)Public Function GetRolesByUserId( _
ByVal userId As System.Long _
) As Role()Parameters
| Name | Description |
|---|---|
| userId | The ID of the user. |
Return Value
An array listing the roles the user has.