---
title: "Aspose::Email::Clients::Google::AccessControlRule::get_Role method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/accesscontrolrule/get_role/"
product: "Aspose.Email for C++"
description: "The role assigned to the scope."
---


## get_Role {#get_role}

The role assigned to the scope.

**Returns:** AccessRole Aspose::Email::Clients::Google::

```cpp
get_Role()
```

