GetRoleAssignmentById
Returns a role assignment given an ID.
Syntax
IRoleAssignment GetRoleAssignmentById (Guid id)
Parameter
Specify the following parameter when using this method:
Parameter | Description |
---|---|
id
|
The GUID of the role assignment. |
Return value
The role assignment, or null
if no match is found.
Exceptions
GetRoleAssignment
throws an ArgumentException
if the parameter is empty.