SecurityNamespace.QueryAccessControlLists Method
Gets the AccessControlList objects that are associated with the specified token and identity descriptors.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public MustOverride Function QueryAccessControlLists ( _
token As String, _
descriptors As IEnumerable(Of IdentityDescriptor), _
includeExtendedInfo As Boolean, _
recurse As Boolean _
) As Collection(Of AccessControlList)
public abstract Collection<AccessControlList> QueryAccessControlLists(
string token,
IEnumerable<IdentityDescriptor> descriptors,
bool includeExtendedInfo,
bool recurse
)
public:
virtual Collection<AccessControlList^>^ QueryAccessControlLists(
String^ token,
IEnumerable<IdentityDescriptor^>^ descriptors,
bool includeExtendedInfo,
bool recurse
) abstract
abstract QueryAccessControlLists :
token:string *
descriptors:IEnumerable<IdentityDescriptor> *
includeExtendedInfo:bool *
recurse:bool -> Collection<AccessControlList>
public abstract function QueryAccessControlLists(
token : String,
descriptors : IEnumerable<IdentityDescriptor>,
includeExtendedInfo : boolean,
recurse : boolean
) : Collection<AccessControlList>
Parameters
token
Type: System.StringThe token for the AccessControlList for which to query permissions.
descriptors
Type: System.Collections.Generic.IEnumerable<IdentityDescriptor>The identity descriptors for which to query access control.
includeExtendedInfo
Type: System.BooleanTrue to include extended information. False to exclude extended information.
recurse
Type: System.BooleanTrue to recursively query child objects of the specified token.
Return Value
Type: System.Collections.ObjectModel.Collection<AccessControlList>
AccessControlList objects that are associated with the specified token and identity descriptors.
.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.