# Terminar sessão do utilizador

### Descrição

Este Runbook procura sessões de utilizador ativas em todos os host pools AVD de um Tenant e força a terminar a sessão do utilizador. O valor SubscriptionIds deve ser definido na personalização do runbook.

### Localização

User → AVD → User Signout

**Nome completo do Runbook**

rjgit-user\_AVD\_user-signout

### Permissões

#### Notas de permissão

Azure: Contribuidor de Host Pool de Virtualização de Desktop no Azure para a assinatura que contém o Hostpool

### Parâmetros

#### UserName

O nome de utilizador (UPN) do utilizador a terminar a sessão AVD. Oculto na interface.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | true   |
| Valor padrão |        |
| Tipo         | String |

#### SubscriptionIds

Array de IDs de subscrição do Azure onde os recursos AVD estão localizados. Obtido a partir da definição AVD.SubscriptionIds (Personalização). Oculto na interface.

| Propriedade  | Valor     |
| ------------ | --------- |
| Obrigatório  | true      |
| Valor padrão |           |
| Tipo         | String\[] |

[Voltar para a visão geral da Referência de Runbook](/pt/automacao/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/pt/automacao/runbooks/runbook-references/user/avd/user-signout.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
