---
title: "Aspose::Email::Clients::Google::IGmailClient::ListCalendars method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/listcalendars/"
product: "Aspose.Email for C++"
description: "Gets array of calendars."
---


## ListCalendars (1 of 2) {#listcalendars_1}

Gets array of calendars.

**Returns:** Returns array of calendars.

```cpp
ListCalendars()
```

---

## ListCalendars (2 of 2) {#listcalendars_2}

Gets array of calendars.

**Returns:** Returns array of calendars.

```cpp
ListCalendars(AccessRole minAccessRole, bool showHidden)
```

| Parameter | Description |
| --- | --- |
| minAccessRole | The effective access role that the authenticated user has on the calendar. |
| showHidden | Show hidden calendars |

