SecurityWebService.RemovePermissions Method
Removes the specified permission bits from the existing allows and denies for this identity.
If the identity is not found, nothing is performed and null is returned.
Namespace: Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function RemovePermissions ( _
namespaceId As Guid, _
token As String, _
descriptor As IdentityDescriptor, _
permissions As Integer _
) As AccessControlEntryDetails
[WebMethodAttribute]
public AccessControlEntryDetails RemovePermissions(
Guid namespaceId,
string token,
IdentityDescriptor descriptor,
int permissions
)
[WebMethodAttribute]
public:
AccessControlEntryDetails^ RemovePermissions(
Guid namespaceId,
String^ token,
IdentityDescriptor^ descriptor,
int permissions
)
[<WebMethodAttribute>]
member RemovePermissions :
namespaceId:Guid *
token:string *
descriptor:IdentityDescriptor *
permissions:int -> AccessControlEntryDetails
public function RemovePermissions(
namespaceId : Guid,
token : String,
descriptor : IdentityDescriptor,
permissions : int
) : AccessControlEntryDetails
Parameters
- namespaceId
Type: System.Guid
token
Type: System.StringThe token the permissions apply to.
descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptorThe descriptor to remove the permissions for.
permissions
Type: System.Int32The permission bits to remove.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntryDetails
The updated ACE
.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