Partager via


AccessControlList Constructor (String, Boolean, IEnumerable<AccessControlEntry>)

Builds an instance of an AccessControlList

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    token As String, _
    inherit As Boolean, _
    accessControlEntries As IEnumerable(Of AccessControlEntry) _
)
public AccessControlList(
    string token,
    bool inherit,
    IEnumerable<AccessControlEntry> accessControlEntries
)
public:
AccessControlList(
    String^ token, 
    bool inherit, 
    IEnumerable<AccessControlEntry^>^ accessControlEntries
)
new : 
        token:string * 
        inherit:bool * 
        accessControlEntries:IEnumerable<AccessControlEntry> -> AccessControlList
public function AccessControlList(
    token : String, 
    inherit : boolean, 
    accessControlEntries : IEnumerable<AccessControlEntry>
)

Parameters

  • token
    Type: System.String

    The token that this AccessControlList is for.

  • inherit
    Type: System.Boolean

    True if this AccessControlList should inherit permissions from its parents.

.NET Framework Security

See Also

Reference

AccessControlList Class

AccessControlList Overload

Microsoft.TeamFoundation.Framework.Client Namespace