RunAsPermission.isSubsetOf Method
Determines whether a current permission is a subset of the specified permission when overridden by a derived class.
Syntax
public boolean isSubsetOf(CodeAccessPermission target)
Run On
Called
Parameters
- target
Type: CodeAccessPermission Class
A CodeAccessPermission class object.
Return Value
Type: boolean
true if a current permission is a subset of a specified permission; otherwise, false.
Remarks
You can override the method as part of the process of making an API more secure. For more information, see .