다음을 통해 공유


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default 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(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