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

Return Value

Type: System.Boolean
true if the current object rights are a subset of the specified rights; otherwise, false.

See Also

Reference

SPObjectRights Class

SPObjectRights Members

Microsoft.SharePoint.Administration.AccessControl Namespace