Поделиться через


SecurityWebService.HasPermissionByDescriptorList Method

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

Syntax

'Декларация
<WebMethodAttribute> _
Public Function HasPermissionByDescriptorList ( _
    namespaceId As Guid, _
    token As String, _
    descriptors As List(Of IdentityDescriptor), _
    requestedPermissions As Integer, _
    alwaysAllowAdministrators As Boolean _
) As List(Of Boolean)
[WebMethodAttribute]
public List<bool> HasPermissionByDescriptorList(
    Guid namespaceId,
    string token,
    List<IdentityDescriptor> descriptors,
    int requestedPermissions,
    bool alwaysAllowAdministrators
)
[WebMethodAttribute]
public:
List<bool>^ HasPermissionByDescriptorList(
    Guid namespaceId, 
    String^ token, 
    List<IdentityDescriptor^>^ descriptors, 
    int requestedPermissions, 
    bool alwaysAllowAdministrators
)
[<WebMethodAttribute>]
member HasPermissionByDescriptorList : 
        namespaceId:Guid * 
        token:string * 
        descriptors:List<IdentityDescriptor> * 
        requestedPermissions:int * 
        alwaysAllowAdministrators:bool -> List<bool> 
public function HasPermissionByDescriptorList(
    namespaceId : Guid, 
    token : String, 
    descriptors : List<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