Bagikan melalui


TeamFoundationSecurityNamespace.CheckPermissionForAllChildren Method (TeamFoundationRequestContext, String, Int32, Boolean, Boolean, PermissionEvaluationCallback)

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

Syntax

'Declaration
Public Sub CheckPermissionForAllChildren ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    requestedPermissions As Integer, _
    resultIfNoChildrenFound As Boolean, _
    alwaysAllowAdministrators As Boolean, _
    permissionEvaluationCallback As PermissionEvaluationCallback _
)
public void CheckPermissionForAllChildren(
    TeamFoundationRequestContext requestContext,
    string token,
    int requestedPermissions,
    bool resultIfNoChildrenFound,
    bool alwaysAllowAdministrators,
    PermissionEvaluationCallback permissionEvaluationCallback
)
public:
void CheckPermissionForAllChildren(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    int requestedPermissions, 
    bool resultIfNoChildrenFound, 
    bool alwaysAllowAdministrators, 
    PermissionEvaluationCallback^ permissionEvaluationCallback
)
member CheckPermissionForAllChildren : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        requestedPermissions:int * 
        resultIfNoChildrenFound:bool * 
        alwaysAllowAdministrators:bool * 
        permissionEvaluationCallback:PermissionEvaluationCallback -> unit 
public function CheckPermissionForAllChildren(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    requestedPermissions : int, 
    resultIfNoChildrenFound : boolean, 
    alwaysAllowAdministrators : boolean, 
    permissionEvaluationCallback : PermissionEvaluationCallback
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

CheckPermissionForAllChildren Overload

Microsoft.TeamFoundation.Framework.Server Namespace