Click or drag to resize
MimeKit

IMailFolderRemoveAccessRightsAsync Method

Asynchronously remove access rights for the specified identity.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
Task RemoveAccessRightsAsync(
	string name,
	AccessRights rights,
	CancellationToken cancellationToken = default
)

Parameters

name  String
The identity name.
rights  AccessRights
The access rights.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

Task
An asynchronous task context.
Remarks
Asynchronously removes the given access rights for the specified identity.
See Also