Microsoft SDK for Java

PermissionSet Class

The PermissionSet Class of the com.ms.security package represents an immutable form of a PermissionDataSet object.

public final class PermissionSet
{
  // Constructors
  public PermissionSet(PermissionDataSet pds);

  // Methods
  public PermissionDataSet getPermissions();
}

 After a PermissionDataSet object has been converted to a PermissionSet object, the contents of the permission set can no longer be modified.

The SecurityClassLoader.defineClass method, which attaches a set of permissions to a class, requires a PermissionSet as one of its parameters.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.