PermissionEvaluationCallback-Delegat
Eine Funktion bereitgestellt vom Benutzer [TeamFoundationSecurityNamespace].
Es wird jedes Mal aufgerufen, dass eine Berechtigungsentscheidung erfüllt ist.
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
)
Parameter
- requestContext
Typ: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Typ: System.String
- requestedPermissions
Typ: System.Int32
- effectiveAllows
Typ: System.Int32
- effectiveDenys
Typ: System.Int32
- preliminaryDecision
Typ: System.Boolean
Rückgabewert
Typ: System.Boolean