共用方式為


SecurityWebService.HasPermissionByPermissionsList Method

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

Syntax

'宣告
<WebMethodAttribute> _
Public Function HasPermissionByPermissionsList ( _
    namespaceId As Guid, _
    token As String, _
    descriptor As IdentityDescriptor, _
    requestedPermissions As List(Of Integer), _
    alwaysAllowAdministrators As Boolean _
) As List(Of Boolean)
[WebMethodAttribute]
public List<bool> HasPermissionByPermissionsList(
    Guid namespaceId,
    string token,
    IdentityDescriptor descriptor,
    List<int> requestedPermissions,
    bool alwaysAllowAdministrators
)
[WebMethodAttribute]
public:
List<bool>^ HasPermissionByPermissionsList(
    Guid namespaceId, 
    String^ token, 
    IdentityDescriptor^ descriptor, 
    List<int>^ requestedPermissions, 
    bool alwaysAllowAdministrators
)
[<WebMethodAttribute>]
member HasPermissionByPermissionsList : 
        namespaceId:Guid * 
        token:string * 
        descriptor:IdentityDescriptor * 
        requestedPermissions:List<int> * 
        alwaysAllowAdministrators:bool -> List<bool> 
public function HasPermissionByPermissionsList(
    namespaceId : Guid, 
    token : String, 
    descriptor : IdentityDescriptor, 
    requestedPermissions : List<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