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)

Syntax

'Declaration
Public Delegate Function PermissionEvaluationCallback ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    requestedPermissions As Integer, _
    effectiveAllows As Integer, _
    effectiveDenys As Integer, _
    preliminaryDecision As Boolean _
) As Boolean
public delegate bool PermissionEvaluationCallback(
    TeamFoundationRequestContext requestContext,
    string token,
    int requestedPermissions,
    int effectiveAllows,
    int effectiveDenys,
    bool preliminaryDecision
)
public delegate bool PermissionEvaluationCallback(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    int requestedPermissions, 
    int effectiveAllows, 
    int effectiveDenys, 
    bool preliminaryDecision
)
type PermissionEvaluationCallback = 
    delegate of  
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        requestedPermissions:int * 
        effectiveAllows:int * 
        effectiveDenys:int * 
        preliminaryDecision:bool -> bool
JScript does not support delegates.

Parameters

Return Value

Type: System.Boolean

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace