> For the complete documentation index, see [llms.txt](https://portal-integracao.intelbras.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://portal-integracao.intelbras.com.br/linha-de-faciais/grupo-de-autoridade/grupos-de-autoridade/obter-todos-os-grupos-de-autoridade.md).

# Obter Todos os Grupos de Autoridade

### Obter todos os grupos de autoridade

Para verificar todos os grupos de autoridade criados, deve ser executado o comando abaixo:

#### Requisição - GET

`http://192.168.1.201/cgi-bin/userManager.cgi?action=getGroupInfoAll`

<table data-search="false"><thead><tr><th width="195">param</th><th>type</th><th>description</th></tr></thead><tbody><tr><td><code>getGroupInfoAll</code>*</td><td>String</td><td>Comando para listar todos os grupos de autoridade</td></tr></tbody></table>

#### Exemplo de Retorno - *text/plain*

```sh
group[0].AuthorityList[0]=AuthUserMag
group[0].AuthorityList[1]=Monitor_01
group[0].AuthorityList[2]=Monitor_02
group[0].AuthorityList[3]=Monitor_03
group[0].AuthorityList[4]=Monitor_04
group[0].AuthorityList[5]=Replay_01
group[0].AuthorityList[6]=Replay_02
group[0].AuthorityList[7]=Replay_03
group[0].AuthorityList[8]=Replay_04
group[0].AuthorityList[9]=AuthSysCfg
group[0].AuthorityList[10]=AuthSysInfo
group[0].AuthorityList[11]=AuthManuCtr
group[0].AuthorityList[12]=AuthBackup
group[0].AuthorityList[13]=AuthStoreCfg
group[0].AuthorityList[14]=AuthEventCfg
group[0].AuthorityList[15]=AuthNetCfg
group[0].AuthorityList[16]=AuthPeripheral
group[0].AuthorityList[17]=AuthAVParam
group[0].AuthorityList[18]=AuthPTZ
group[0].AuthorityList[19]=AuthSecurity
group[0].AuthorityList[20]=AuthMaintence
group[0].AuthorityList[21]=Web_UserManagement
group[0].AuthorityList[22]=Web_AccessControl
group[0].AuthorityList[23]=Web_IntercomSettings
group[0].AuthorityList[24]=Web_DisplaySettings
group[0].AuthorityList[25]=Web_AudioAndVideo
group[0].AuthorityList[26]=Web_CommunicationSettings
group[0].AuthorityList[27]=Web_SystemSettings
group[0].AuthorityList[28]=Web_Log
group[0].AuthorityList[29]=Web_Security
group[0].AuthorityList[30]=Web_Account
group[0].AuthorityList[31]=Web_Language
group[0].AuthorityList[32]=Web_reboot
group[0].AuthorityList[33]=Local_UserManagement
group[0].AuthorityList[34]=Local_AccessControl
group[0].AuthorityList[35]=Local_CommunicationSettings
group[0].AuthorityList[36]=Local_SystemSettings
group[0].AuthorityList[37]=Local_Functions
group[0].AuthorityList[38]=Local_Log
group[0].AuthorityList[39]=Local_AutoTest
group[0].AuthorityList[40]=Local_SystemInfo
group[0].AuthorityList[41]=APIPermission
group[0].Id=1
group[0].Memo=administrator group
group[0].Name=admin
group[1].AuthorityList[0]=Web_UserManagement
group[1].AuthorityList[1]=Web_AudioAndVideo
group[1].AuthorityList[2]=Web_reboot
group[1].AuthorityList[3]=Local_AccessControl
group[1].AuthorityList[4]=Local_CommunicationSettings
group[1].AuthorityList[5]=Local_SystemSettings
group[1].AuthorityList[6]=Local_Functions
group[1].AuthorityList[7]=Local_AutoTest
group[1].AuthorityList[8]=APIPermission
group[1].Id=2
group[1].Memo=
group[1].Name=teste12
group[2].AuthorityList[0]=Web_UserManagement
group[2].AuthorityList[1]=Web_AccessControl
group[2].AuthorityList[2]=Web_IntercomSettings
group[2].AuthorityList[3]=Web_DisplaySettings
group[2].AuthorityList[4]=Web_AudioAndVideo
group[2].AuthorityList[5]=Web_CommunicationSettings
group[2].AuthorityList[6]=Web_SystemSettings
group[2].AuthorityList[7]=Web_Log
group[2].AuthorityList[8]=Web_Security
group[2].AuthorityList[9]=Web_Account
group[2].AuthorityList[10]=Web_Language
group[2].AuthorityList[11]=Web_reboot
group[2].AuthorityList[12]=Local_UserManagement
group[2].AuthorityList[13]=Local_AccessControl
group[2].AuthorityList[14]=Local_CommunicationSettings
group[2].AuthorityList[15]=Local_SystemSettings
group[2].AuthorityList[16]=Local_Functions
group[2].AuthorityList[17]=Local_Log
group[2].AuthorityList[18]=Local_AutoTest
group[2].AuthorityList[19]=Local_SystemInfo
group[2].AuthorityList[20]=APIPermission
group[2].Id=3
group[2].Memo=
group[2].Name=rter
group[3].AuthorityList[0]=Web_UserManagement
group[3].AuthorityList[1]=Web_AccessControl
group[3].AuthorityList[2]=Web_IntercomSettings
group[3].AuthorityList[3]=Web_DisplaySettings
group[3].AuthorityList[4]=Web_AudioAndVideo
group[3].AuthorityList[5]=Web_CommunicationSettings
group[3].AuthorityList[6]=Web_SystemSettings
group[3].AuthorityList[7]=Web_Log
group[3].AuthorityList[8]=Web_Security
group[3].AuthorityList[9]=Web_Account
group[3].AuthorityList[10]=Web_Language
group[3].AuthorityList[11]=Web_reboot
group[3].AuthorityList[12]=Local_UserManagement
group[3].AuthorityList[13]=Local_AccessControl
group[3].AuthorityList[14]=Local_CommunicationSettings
group[3].AuthorityList[15]=Local_SystemSettings
group[3].AuthorityList[16]=Local_Functions
group[3].AuthorityList[17]=Local_Log
group[3].AuthorityList[18]=Local_AutoTest
group[3].AuthorityList[19]=Local_SystemInfo
group[3].AuthorityList[20]=APIPermission
group[3].Id=4
group[3].Memo=
group[3].Name=cc66

```

#### Exemplos

{% tabs %}
{% tab title="Python" %}

```python
import requests
 
device_ip = '192.168.3.87'
username = 'admin'
password = 'teste1234@!'
 
url = "http://{}//cgi-bin/userManager.cgi?action=getGroupInfoAll".format(
                            str(device_ip),
                        )
 
digest_auth = requests.auth.HTTPDigestAuth(username, password)
rval = requests.get(url, auth=digest_auth, stream=True, timeout=20, verify=False)
 
print(rval.text)
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://portal-integracao.intelbras.com.br/linha-de-faciais/grupo-de-autoridade/grupos-de-autoridade/obter-todos-os-grupos-de-autoridade.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
