GetRoleAssignmentById
Returns a role assignment, given a GUID.
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 that has the specified GUID.
Discussion
This method returns a role assignment object given the GUID of the object.
Exceptions
GetRoleAssignmentById throws an ArgumentNullException if the specified parameter value is null.