SingleSignonPermission.IsSubsetOf Method
Determines whether the current permission is a subset of the specified permission.
Namespace: Microsoft.SharePoint.Portal.SingleSignon.Security
Assembly: Microsoft.SharePoint.Portal.SingleSignon.Security (in Microsoft.SharePoint.Portal.SingleSignon.Security.dll)
Syntax
'Declaration
Public Overrides Function IsSubsetOf ( _
target As IPermission _
) As Boolean
'Usage
Dim instance As SingleSignonPermission
Dim target As IPermission
Dim returnValue As Boolean
returnValue = instance.IsSubsetOf(target)
public override bool IsSubsetOf(
IPermission target
)
Parameters
target
Type: System.Security.IPermissionA permission that to test for the subset relationship. This permission must be the same type as the current permission.
Return Value
Type: System.Boolean
Boolean true if the current permission is a subset of the specified permission; otherwise, false.
Implements
IPermission.IsSubsetOf(IPermission)
Remarks
If the current permission specifies a set of operations that is wholly contained by the specified permission, the current permission is a subset of the specified permission.