CommunicationIdentityClient.DeleteUserAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.