GetEnumerator

Returns an enumeration of roles.

Syntax

IEnumerator GetEnumerator()

Return value

The set of Role objects.

Exceptions

GetEnumerator throws an ApplicationException if it 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.