Class PermissionDataSetEnumerator
public class PermissionDataSetEnumerator implements Enumeration
{
// Methods
public boolean hasMoreElements();
public boolean hasMorePermissionIDs();
public Object nextElement();
public PermissionID nextPermissionID();
}
This class implements an enumeration of the permission identifiers stored within a PermissionDataSet object. To acquire a PermissionDataSetEnumerator object for a particular PermissionDataSet, call the PermissionDataSet.elements method.
Also see com.ms.security.PermissionDataSet
public boolean hasMoreElements();
Determines whether the enumeration contains additional elements. This method implements the java.util.Enumeration.hasMoreElements method.
Return Value:
Returns true if the enumeration contains additional elements; otherwise, returns false.
public boolean hasMorePermissionIDs();
Determines whether the enumeration contains additional PermissionID objects.
Return Value:
Returns true if the enumeration contains additional PermissionID objects; otherwise, returns false.
public Object nextElement();
Retrieves the next PermissionID from the enumeration. This method implements the java.util.Enumeration.nextElement method.
Return Value:
Returns the next PermissionID object from the enumeration.
Exceptions:
java.util.NoSuchElementException
if no more PermissionID objects exist in the enumeration.
public PermissionID nextPermissionID();
Retrieves the next PermissionID object from the enumeration.
Return Value:
Returns the next PermissionID object from the enumeration.
Exceptions:
java.util.NoSuchElementException
if no more PermissionID objects exist in the enumeration.