AccessControlList Constructor (String, Boolean, IEnumerable<AccessControlEntry>)
Builds an instance of an AccessControlList.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.StringThe token that this AccessControlList is for.
inherit
Type: System.BooleanTrue if this AccessControlList should inherit permissions from its parents.
accessControlEntries
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>The list of AccessControlEntries that apply to this AccessControlList.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.