SecurityWebService.HasPermissionByTokenList 方法
命名空间: Microsoft.TeamFoundation.Framework.Server.Alm.WebServices
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
<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
)
参数
- namespaceId
类型:System.Guid
- tokens
类型:System.Collections.Generic.List<String>
- requestedPermissions
类型:System.Int32
- alwaysAllowAdministrators
类型:System.Boolean
返回值
类型:System.Collections.Generic.List<Boolean>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.TeamFoundation.Framework.Server.Alm.WebServices 命名空间