SecurityWebService.HasPermissionByTokenList Method

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

Syntax

声明
<WebMethodAttribute> _
Public Function HasPermissionByTokenList ( _
    namespaceId As Guid, _
    tokens As List(Of String), _
    descriptor As IdentityDescriptor, _
    requestedPermissions As Integer, _
    alwaysAllowAdministrators As Boolean _
) As List(Of Boolean)
[WebMethodAttribute]
public List<bool> HasPermissionByTokenList(
    Guid namespaceId,
    List<string> tokens,
    IdentityDescriptor descriptor,
    int requestedPermissions,
    bool alwaysAllowAdministrators
)
[WebMethodAttribute]
public:
List<bool>^ HasPermissionByTokenList(
    Guid namespaceId, 
    List<String^>^ tokens, 
    IdentityDescriptor^ descriptor, 
    int requestedPermissions, 
    bool alwaysAllowAdministrators
)
[<WebMethodAttribute>]
member HasPermissionByTokenList : 
        namespaceId:Guid * 
        tokens:List<string> * 
        descriptor:IdentityDescriptor * 
        requestedPermissions:int * 
        alwaysAllowAdministrators:bool -> List<bool> 
public function HasPermissionByTokenList(
    namespaceId : Guid, 
    tokens : List<String>, 
    descriptor : IdentityDescriptor, 
    requestedPermissions : int, 
    alwaysAllowAdministrators : boolean
) : List<boolean>

Parameters

Return Value

Type: System.Collections.Generic.List<Boolean>

.NET Framework Security

See Also

Reference

SecurityWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace