Microsoft SDK for Java

ExecutionPermission Class Methods

The ExecutionPermission Class contains the following methods:

check determines whether the permission allows the applications specified in an ExecutionRequest object to be executed.
combine creates and returns a new ExecutionPermission object that is a combination of the current permission object and the specified permission object.
compareSet compares the ExecutionPermission instance with a specified permission object.
copy retrieves a copy of the ExecutionPermission instance.
decode decodes the contents of the specified data stream into this permission object.
encode encodes the contents of this permission object and sends the encoded data to the specified stream.
excludeApplications explicitly excludes applications from the set of programs that the permission allows.
getExcludedApplications retrieves a WildcardExpression instance that contains all the applications that have been explicitly denied.
getIncludedApplications retrieves a WildcardExpression instance that contains all the applications that have been explicitly included in the set of programs that the permission allows.
includeApplications adds specific applications to the set of programs that the permission allows.
isUnrestricted determines whether the permission object allows unrestricted access to execute applications.
mapFormat retrieves a permission-specific tag when given an encoding format.
reset resets the permission object so that it no longer allows access for executing applications.
setUnrestricted turns the unrestricted state of this permission object on or off.
supportedFormats retrieves the encoding formats that the permission type supports.
toString retrieves a textual representation of the permission object.

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