共用方式為


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