Share via


SPNamedObjectRights class

Represents a named set of user rights that can be applied to a secured object.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.AccessControl.SPNamedObjectRights
    Microsoft.SharePoint.Administration.AccessControl.SPNamedAclRights<TRightsEnum>

Namespace:  Microsoft.SharePoint.Administration.AccessControl
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPNamedObjectRights
'Usage
Dim instance As SPNamedObjectRights
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPNamedObjectRights

Remarks

For example, the name "Modify" may be used to describe Read and Write user rights.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPNamedObjectRights members

Microsoft.SharePoint.Administration.AccessControl namespace