Click or drag to resize
MimeKit

IMailFolderAddAccessRightsAsync Method

Asynchronously add access rights for the specified identity.

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