Condividi tramite


SPNamedAclRights<TRightsEnum> Class

Represents a name used to describe a set of access rights.

Inheritance Hierarchy

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

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 Class SPNamedAclRights(Of TRightsEnum As {Structure, New}) _
    Inherits SPNamedObjectRights
'Usage
Dim instance As SPNamedAclRights(Of TRightsEnum)
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPNamedAclRights<TRightsEnum> : SPNamedObjectRights
where TRightsEnum : struct, new()

Type Parameters

  • TRightsEnum

Remarks

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

This class can be used to create a user interface for managing an access control list.

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

SPNamedAclRights<TRightsEnum> Members

Microsoft.SharePoint.Administration.AccessControl Namespace