Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 HasWritePermission ( _
namespaceId As Guid, _
token As String, _
requestedPermissions As List(Of Integer) _
) As List(Of Boolean)
[WebMethodAttribute]
public List<bool> HasWritePermission(
Guid namespaceId,
string token,
List<int> requestedPermissions
)
[WebMethodAttribute]
public:
List<bool>^ HasWritePermission(
Guid namespaceId,
String^ token,
List<int>^ requestedPermissions
)
[<WebMethodAttribute>]
member HasWritePermission :
namespaceId:Guid *
token:string *
requestedPermissions:List<int> -> List<bool>
public function HasWritePermission(
namespaceId : Guid,
token : String,
requestedPermissions : List<int>
) : List<boolean>
Parameters
namespaceId
Type: System.GuidThe namespace this query is on.
token
Type: System.StringThe token to check.
requestedPermissions
Type: System.Collections.Generic.List<Int32>The permissions being requested.
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.