Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IsSubsetOf method of the SharePointPermission class determines whether the current permission is a subset of the specified permission.
Parameters
target A permission that is to be tested for the subset relationship. This permission must be the same type as the current permission.
Return Value
true if the current permission is a subset of the specified permission; otherwise, false.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | The target parameter is not a null reference (Nothing in Visual Basic) and is not of the same type as the current permission. |
Remarks
The current permission is a subset of the specified permission if the current permission specifies a set of operations that is wholly contained by the specified permission.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security