Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.security   Previous This
Package
Next

 


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

Methods

hasMoreElements

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.

hasMorePermissionIDs

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.

nextElement

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.

nextPermissionID

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.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.