SPObjectRights.IsSubsetOf method
When implemented in a derived class, determines whether the current object rights are a subset of the specified rights.
Namespace: Microsoft.SharePoint.Administration.AccessControl
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public MustOverride Function IsSubsetOf ( _
objectRights As SPObjectRights _
) As Boolean
'Usage
Dim instance As SPObjectRights
Dim objectRights As SPObjectRights
Dim returnValue As Boolean
returnValue = instance.IsSubsetOf(objectRights)
public abstract bool IsSubsetOf(
SPObjectRights objectRights
)
Parameters
objectRights
Type: Microsoft.SharePoint.Administration.AccessControl.SPObjectRightsThe set of rights that is to be tested for the subset relationship.
Return value
Type: System.Boolean
true if the current object rights are a subset of the specified rights; otherwise, false.