SecurityHttpClient.RemovePermissionAsync Method
Namespace: Microsoft.VisualStudio.Services.Security.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function RemovePermissionAsync ( _
securityNamespaceId As Guid, _
token As String, _
descriptor As IdentityDescriptor, _
permissions As Integer, _
userState As Object _
) As Task(Of AccessControlEntry)
public Task<AccessControlEntry> RemovePermissionAsync(
Guid securityNamespaceId,
string token,
IdentityDescriptor descriptor,
int permissions,
Object userState
)
public:
Task<AccessControlEntry^>^ RemovePermissionAsync(
Guid securityNamespaceId,
String^ token,
IdentityDescriptor^ descriptor,
int permissions,
Object^ userState
)
member RemovePermissionAsync :
securityNamespaceId:Guid *
token:string *
descriptor:IdentityDescriptor *
permissions:int *
userState:Object -> Task<AccessControlEntry>
public function RemovePermissionAsync(
securityNamespaceId : Guid,
token : String,
descriptor : IdentityDescriptor,
permissions : int,
userState : Object
) : Task<AccessControlEntry>
Parameters
- securityNamespaceId
Type: System.Guid
- token
Type: System.String
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- permissions
Type: System.Int32
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<AccessControlEntry>
.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.