| IMailFolderAddAccessRightsAsync Method |
Asynchronously add access rights for the specified identity.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax 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
TaskAn asynchronous task context.
Remarks
Asynchronously adds the given access rights for the specified identity.
See Also