This documentation is archived and is not being maintained.

PermissionEvaluationCallback Delegate

A function provided by the user of the [TeamFoundationSecurityNamespace].

It will be called every time that a permission decision is being made.

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

public delegate bool PermissionEvaluationCallback(
	TeamFoundationRequestContext^ requestContext, 
	String^ token, 
	int requestedPermissions, 
	int effectiveAllows, 
	int effectiveDenys, 
	bool preliminaryDecision
)

Parameters

requestContext
Type: Microsoft.TeamFoundation.Framework.Server::TeamFoundationRequestContext
token
Type: System::String
requestedPermissions
Type: System::Int32
effectiveAllows
Type: System::Int32
effectiveDenys
Type: System::Int32
preliminaryDecision
Type: System::Boolean

Return Value

Type: System::Boolean
Show: