Condividi tramite


CommunicationIdentityClient.DeleteUser Method

Definition

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

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

Parameters

communicationUser
CommunicationUserIdentifier

The user to be deleted.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

The server returned an error.

Applies to