This documentation is archived and is not being maintained.

ISecurityNamespaceExtension::QueryPermissions Method

Called every time that the security namespace is about to return AccessControlLists to either the server API or to the Web service. This allows the implementor to modify any of the ACLs that are being returned.

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

IEnumerable<AccessControlList^>^ QueryPermissions(
	TeamFoundationRequestContext^ requestContext, 
	String^ token, 
	IEnumerable<IdentityDescriptor^>^ descriptors, 
	bool includeExtendedInfo, 
	bool recurse, 
	IEnumerable<AccessControlList^>^ preliminaryAccessControlLists
)

Parameters

requestContext
Type: Microsoft.TeamFoundation.Framework.Server::TeamFoundationRequestContext

The request context for the current request which contains the user trying to perform the action.

token
Type: System::String

The token the query is being made on.

descriptors
Type: System.Collections.Generic::IEnumerable<IdentityDescriptor>

The descriptors requested by the caller.

includeExtendedInfo
Type: System::Boolean

True if the caller has requested that extended information be included in the ACEs returned.

recurse
Type: System::Boolean

True if this query should recurse.

preliminaryAccessControlLists
Type: System.Collections.Generic::IEnumerable<AccessControlList>

The preliminary set of ACLs that was going to be returned.

Return Value

Type: System.Collections.Generic::IEnumerable<AccessControlList>
The set of ACLs that should be returned to the caller.

Show: