This documentation is archived and is not being maintained.

ISecurityNamespaceExtension::QueryEffectivePermissions Method

Called every time that the security namespace is about to return effective permissions to either the server API or the Web service. This allows the implementor to modify the final result.

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

int QueryEffectivePermissions(
	TeamFoundationRequestContext^ requestContext, 
	String^ token, 
	IdentityDescriptor^ descriptor, 
	int preliminaryEffectivePermissions
)

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.

descriptor
Type: Microsoft.TeamFoundation.Framework.Server::IdentityDescriptor

The descriptor the query is being made on.

preliminaryEffectivePermissions
Type: System::Int32

The effective permissions that have already been computed.

Return Value

Type: System::Int32

Show: