# ASSUME SERVICE ACCOUNT reference

ASSUME SERVICE ACCOUNT SQL keywords reference documentation.  Applies to RBAC in QuestDB Enterprise

<EnterpriseNote>
  RBAC provides fine-grained database permissions management.
</EnterpriseNote>

`ASSUME SERVICE ACCOUNT` switches current user to a service account, basically
replacing its current access list with the service account's access list.

For full documentation of the Access Control List and Role-based Access Control,
see the [RBAC operations](/docs/security/rbac) page.

---

## Syntax

```questdb-sql
ASSUME SERVICE ACCOUNT serviceAccount;
```

## Examples

```questdb-sql
ASSUME SERVICE ACCOUNT ilp_ingestion;
```
