Condividi tramite


TeamFoundationSecurityNamespace.CheckPermissionForAnyChildren Method (TeamFoundationRequestContext, IEnumerable<String>, Int32, Boolean, Boolean, PermissionEvaluationCallback)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Dichiarazione
Public Sub CheckPermissionForAnyChildren ( _
    requestContext As TeamFoundationRequestContext, _
    tokens As IEnumerable(Of String), _
    requestedPermissions As Integer, _
    resultIfNoChildrenFound As Boolean, _
    alwaysAllowAdministrators As Boolean, _
    permissionEvaluationCallback As PermissionEvaluationCallback _
)
public void CheckPermissionForAnyChildren(
    TeamFoundationRequestContext requestContext,
    IEnumerable<string> tokens,
    int requestedPermissions,
    bool resultIfNoChildrenFound,
    bool alwaysAllowAdministrators,
    PermissionEvaluationCallback permissionEvaluationCallback
)
public:
void CheckPermissionForAnyChildren(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<String^>^ tokens, 
    int requestedPermissions, 
    bool resultIfNoChildrenFound, 
    bool alwaysAllowAdministrators, 
    PermissionEvaluationCallback^ permissionEvaluationCallback
)
member CheckPermissionForAnyChildren : 
        requestContext:TeamFoundationRequestContext * 
        tokens:IEnumerable<string> * 
        requestedPermissions:int * 
        resultIfNoChildrenFound:bool * 
        alwaysAllowAdministrators:bool * 
        permissionEvaluationCallback:PermissionEvaluationCallback -> unit 
public function CheckPermissionForAnyChildren(
    requestContext : TeamFoundationRequestContext, 
    tokens : IEnumerable<String>, 
    requestedPermissions : int, 
    resultIfNoChildrenFound : boolean, 
    alwaysAllowAdministrators : boolean, 
    permissionEvaluationCallback : PermissionEvaluationCallback
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

CheckPermissionForAnyChildren Overload

Microsoft.TeamFoundation.Framework.Server Namespace