TeamFoundationSecurityNamespace.HasPermissionForAnyChildren 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 Function HasPermissionForAnyChildren ( _
requestContext As TeamFoundationRequestContext, _
tokens As IEnumerable(Of String), _
requestedPermissions As Integer, _
resultIfNoChildrenFound As Boolean, _
alwaysAllowAdministrators As Boolean, _
permissionEvaluationCallback As PermissionEvaluationCallback _
) As IEnumerable(Of Boolean)
public IEnumerable<bool> HasPermissionForAnyChildren(
TeamFoundationRequestContext requestContext,
IEnumerable<string> tokens,
int requestedPermissions,
bool resultIfNoChildrenFound,
bool alwaysAllowAdministrators,
PermissionEvaluationCallback permissionEvaluationCallback
)
public:
IEnumerable<bool>^ HasPermissionForAnyChildren(
TeamFoundationRequestContext^ requestContext,
IEnumerable<String^>^ tokens,
int requestedPermissions,
bool resultIfNoChildrenFound,
bool alwaysAllowAdministrators,
PermissionEvaluationCallback^ permissionEvaluationCallback
)
member HasPermissionForAnyChildren :
requestContext:TeamFoundationRequestContext *
tokens:IEnumerable<string> *
requestedPermissions:int *
resultIfNoChildrenFound:bool *
alwaysAllowAdministrators:bool *
permissionEvaluationCallback:PermissionEvaluationCallback -> IEnumerable<bool>
public function HasPermissionForAnyChildren(
requestContext : TeamFoundationRequestContext,
tokens : IEnumerable<String>,
requestedPermissions : int,
resultIfNoChildrenFound : boolean,
alwaysAllowAdministrators : boolean,
permissionEvaluationCallback : PermissionEvaluationCallback
) : IEnumerable<boolean>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- tokens
Type: System.Collections.Generic.IEnumerable<String>
- requestedPermissions
Type: System.Int32
- resultIfNoChildrenFound
Type: System.Boolean
- alwaysAllowAdministrators
Type: System.Boolean
- permissionEvaluationCallback
Type: Microsoft.TeamFoundation.Framework.Server.PermissionEvaluationCallback
Return Value
Type: System.Collections.Generic.IEnumerable<Boolean>
.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.
See Also
Reference
TeamFoundationSecurityNamespace Class