Share via


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