> 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/usuarios-de-configuracao/obter-horario-de-login-do-usuarios.md).

# Obter Horário de login do usuários

### Obter usuário de configuração por nome

Para obter a informação de um usuário de configuração em específico, é necessário usar o nome na consulta ao sistema.

#### Requisição - GET

`http://{{device_ip}}/cgi-bin/userManager.cgi?action=getActiveUserInfoAll`

<table data-search="false"><thead><tr><th>param</th><th>type</th><th>description</th></tr></thead><tbody><tr><td><code>getActiveUserInfoAll</code> *</td><td>String</td><td>Comando para listar o horário de login dos usuários de configuração</td></tr></tbody></table>

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

```shell
users[0].ClientAddress=10.100.78.115
users[0].ClientFlag=0
users[0].ClientType=Web3.0
users[0].Group=admin
users[0].Id=1
users[0].LoginTime=29-07-2026 13:41:26
users[0].Name=admin
users[0].ProtocolType=4
users[1].ClientAddress=10.100.78.115
users[1].ClientFlag=0
users[1].ClientType=Web
users[1].Group=admin
users[1].Id=2
users[1].LoginTime=29-07-2026 13:41:27
users[1].Name=admin
users[1].ProtocolType=3
users[2].ClientAddress=10.100.78.115
users[2].ClientFlag=0
users[2].ClientType=Web3.0
users[2].Group=teste12
users[2].Id=80
users[2].LoginTime=29-07-2026 14:58:57
users[2].Name=teste
users[2].ProtocolType=4
users[3].ClientAddress=10.100.78.115
users[3].ClientFlag=0
users[3].ClientType=Web
users[3].Group=teste12
users[3].Id=81
users[3].LoginTime=29-07-2026 14:58:59
users[3].Name=teste
users[3].ProtocolType=3
users[4].ClientAddress=10.100.78.115
users[4].ClientFlag=0
users[4].ClientType=CGI
users[4].Group=admin
users[4].Id=83
users[4].LoginTime=29-07-2026 14:59:04
users[4].Name=admin
users[4].ProtocolType=8
```

#### 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=getUserInfo&name=fulano2".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/usuarios-de-configuracao/obter-horario-de-login-do-usuarios.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.
