---
title: "Aspose::Email::Clients::Google::IGmailClient::GetAllContacts method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/getallcontacts/"
product: "Aspose.Email for C++"
description: "Fetches all contacts."
---


## GetAllContacts {#getallcontacts}

Fetches all contacts.

**Returns:** Contacts array

```cpp
GetAllContacts()
```

