SecurityWebService.HasWritePermission Method
Namespace: Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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
- token
Type: System.String
- requestedPermissions
Type: System.Collections.Generic.List<Int32>
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.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.WebServices Namespace