Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

PermissionEvaluationCallback Delegate

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.