TeamFoundationSecurityNamespace.CheckPermission Method (TeamFoundationRequestContext, IEnumerable<String>, Int32, Boolean, PermissionEvaluationCallback)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Dichiarazione
Public Sub CheckPermission ( _
requestContext As TeamFoundationRequestContext, _
tokens As IEnumerable(Of String), _
requestedPermissions As Integer, _
alwaysAllowAdministrators As Boolean, _
permissionEvaluationCallback As PermissionEvaluationCallback _
)
public void CheckPermission(
TeamFoundationRequestContext requestContext,
IEnumerable<string> tokens,
int requestedPermissions,
bool alwaysAllowAdministrators,
PermissionEvaluationCallback permissionEvaluationCallback
)
public:
void CheckPermission(
TeamFoundationRequestContext^ requestContext,
IEnumerable<String^>^ tokens,
int requestedPermissions,
bool alwaysAllowAdministrators,
PermissionEvaluationCallback^ permissionEvaluationCallback
)
member CheckPermission :
requestContext:TeamFoundationRequestContext *
tokens:IEnumerable<string> *
requestedPermissions:int *
alwaysAllowAdministrators:bool *
permissionEvaluationCallback:PermissionEvaluationCallback -> unit
public function CheckPermission(
requestContext : TeamFoundationRequestContext,
tokens : IEnumerable<String>,
requestedPermissions : int,
alwaysAllowAdministrators : boolean,
permissionEvaluationCallback : PermissionEvaluationCallback
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- tokens
Type: System.Collections.Generic.IEnumerable<String>
- requestedPermissions
Type: System.Int32
- alwaysAllowAdministrators
Type: System.Boolean
- permissionEvaluationCallback
Type: Microsoft.TeamFoundation.Framework.Server.PermissionEvaluationCallback
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.