Click or drag to resize
MimeKit

IMailFolderSetAccessRightsAsync Method

Asynchronously set the access rights for the sepcified identity.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Task SetAccessRightsAsync(
	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 sets the access rights for the specified identity.
See Also