Delegato PermissionEvaluationCallback
Una funzione fornita dall'utente [TeamFoundationSecurityNamespace].
Verrà chiamato ogni volta che una decisione di autorizzazione viene prendenda.
Spazio dei nomi: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- requestContext
Tipo: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Tipo: System.String
- requestedPermissions
Tipo: System.Int32
- effectiveAllows
Tipo: System.Int32
- effectiveDenys
Tipo: System.Int32
- preliminaryDecision
Tipo: System.Boolean
Valore restituito
Tipo: System.Boolean