TeamFoundationSecurityNamespace.QueryAccessControlList Method
In all cases: This method will query the AccessControlList for the token specified. It will return AccessControlEntry information on the descriptors that are supplied or all descriptors if null is supplied for the descriptors parameter.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function QueryAccessControlList ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
descriptors As IEnumerable(Of IdentityDescriptor), _
includeExtendedInfo As Boolean _
) As AccessControlList
public virtual AccessControlList QueryAccessControlList(
TeamFoundationRequestContext requestContext,
string token,
IEnumerable<IdentityDescriptor> descriptors,
bool includeExtendedInfo
)
public:
virtual AccessControlList^ QueryAccessControlList(
TeamFoundationRequestContext^ requestContext,
String^ token,
IEnumerable<IdentityDescriptor^>^ descriptors,
bool includeExtendedInfo
)
abstract QueryAccessControlList :
requestContext:TeamFoundationRequestContext *
token:string *
descriptors:IEnumerable<IdentityDescriptor> *
includeExtendedInfo:bool -> AccessControlList
override QueryAccessControlList :
requestContext:TeamFoundationRequestContext *
token:string *
descriptors:IEnumerable<IdentityDescriptor> *
includeExtendedInfo:bool -> AccessControlList
public function QueryAccessControlList(
requestContext : TeamFoundationRequestContext,
token : String,
descriptors : IEnumerable<IdentityDescriptor>,
includeExtendedInfo : boolean
) : AccessControlList
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for the current request.
token
Type: System.StringThe token for the AccessControlList to query permissions for.
descriptors
Type: System.Collections.Generic.IEnumerable<IdentityDescriptor>The descriptors that are to have permission information retrieved about. If this is left null, all descriptors will be considered.
includeExtendedInfo
Type: System.BooleanIf includeExtendedInfo is false: All of the ExtendedInfo properties for the returned AccessControlEntry objects will be null. If includeExtendedInfo is true: All of the ExtendedInfo properties for the returned AccessControlEntry objects will contain references to valid AceExtendedInformation objects. If the descriptors parameter is null, this function will return AccessControlEntries for all descriptors that have explicit or inherited permissions on them.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControlList
AccessControlLists for the information passed in.
.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.