IGmailClientAsync.ListAccessRulesAsync
IGmailClientAsync.ListAccessRulesAsync method
Asynchronously retrieves all access control rules for a calendar.
public Task<AccessControlRule[]> ListAccessRulesAsync(string calendarId,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| calendarId | String | The ID of the calendar. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains an array of AccessControlRule.
See Also
- class AccessControlRule
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email