Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Return the list of has permission evaluations for the supplied arguments.
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<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
namespaceId
Type: System.GuidThe namespace this query is on.
token
Type: System.StringThe token to check.
descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptorThe descriptor to check.
requestedPermissions
Type: System.Collections.Generic.List<Int32>The permissions being requested.
alwaysAllowAdministrators
Type: System.BooleanTrue if this check should always allow administrators.
Return Value
Type: System.Collections.Generic.List<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.