다음을 통해 공유


SPAcl<T>.Item property (String)

Gets the access control entry from the access control list based on the specified principal name.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    principalName As String _
) As SPAce(Of T)
    Get
'Usage
Dim instance As SPAcl
Dim principalName As String
Dim value As SPAce(Of T)

value = instance.Item(principalName)
public SPAce<T> this[
    string principalName
] { get; }

Parameters

  • principalName
    Type: System.String

    A string that specifies the name of the principal.

Property value

Type: Microsoft.SharePoint.Administration.SPAce<T>

See also

Reference

SPAcl<T> class

SPAcl<T> members

Item overload

Microsoft.SharePoint.Administration namespace