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 assignments.

Return value

The role assignment for the specified role.

Exceptions

GetRoleAssignmentToAllADUsers throws an ArgumentNullException if the parameter is null.