IGmailClientAsync.ListAccessRulesAsync

IGmailClientAsync.ListAccessRulesAsync method

Asynchronously retrieves all access control rules for a calendar.

public Task<AccessControlRule[]> ListAccessRulesAsync(string calendarId, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe ID of the calendar.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains an array of AccessControlRule.

See Also