Share via


SPAccessRule.Name property

Gets the name of the access rule. The name is used as an identifier for the rule in code.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPAccessRule
Dim value As String

value = instance.Name
public abstract string Name { get; }

Property value

Type: System.String
The name of the access rule.

See also

Reference

SPAccessRule class

SPAccessRule members

Microsoft.SharePoint.Administration.AccessControl namespace