GetRoleAssignmentToAllADUsers

Returns the role assignment given to all Active Directory users who have a specified role.

Syntax

IRoleAssignment GetRoleAssignmentToAllADUsers(IRole role)

Parameter

Specify the following parameter when using this method:

Parameter Description
role The user role for which you want the role assignment.

Return value

The role assignment for the specified role.

Exceptions

GetRoleAssignmentToAllADUsers throws an ArgumentNullException if the specified parameter value is null.