Delen via


SecurityWebService.HasWritePermission Method

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.Guid

    The namespace this query is on.

Return Value

Type: System.Collections.Generic.List<Boolean>

.NET Framework Security

See Also

Reference

SecurityWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace