Returns an enumeration of role assignments.


IEnumerator GetEnumerator()

Return value

The set of RoleAssignment objects.


GetEnumerator throws an ApplicationException if it cannot find the scope in the zone, cannot find the role, or cannot find authorization data for the zone.

If the GetEnumerator method fails, see the message returned by the exception for more specific information about the reason for the failure.