Condividi tramite


CommunicationIdentityClient.DeleteUserAsync Method

Definition

Asynchronously deletes a CommunicationUserIdentifier, revokes its tokens and deletes its data.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteUserAsync (Azure.Communication.CommunicationUserIdentifier communicationUser, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteUserAsync : Azure.Communication.CommunicationUserIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteUserAsync : Azure.Communication.CommunicationUserIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteUserAsync (communicationUser As CommunicationUserIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

communicationUser
CommunicationUserIdentifier

The user to be deleted.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to