Share via


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