> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/it/knowledge-base/how-to-articles/implement-the-database-login-mode.md).

# Implementare la modalità di accesso al database

La modalità ***Database login*** è il metodo di accesso di base per i database Microsoft SQL e Microsoft Azure SQL. Il presente articolo descrive come creare utenti in Remote Desktop Manager con la modalità ***Database login***.

{% hint style="danger" %}
Gli utenti che si autenticano con la modalità ***Database login*** possono utilizzare le proprie credenziali di Remote Desktop Manager per accedere direttamente al database SQL. Per impedire questo utilizzo, usi invece la [modalità di accesso personalizzata](/rdm/it/knowledge-base/how-to-articles/implement-the-custom-login-mode.md).
{% endhint %}

### Creazione di un login/utente SQL

1. In Remote Desktop Manager, si connetta allo spazio di lavoro Microsoft SQL Server con un qualsiasi utente proprietario del database.
2. In ***Amministrazione – Utenti***, clicchi sul pulsante ***Aggiungi utente***.

![](https://cdnweb.devolutions.net/docs/RDMW4154_2024_3.png)

3. Nella scheda ***Generale*** della finestra ***Gestione utenti***, configuri l'utente come segue:
   * Nell'elenco a discesa ***Tipo di autenticazione***, selezioni ***Database***.
   * Inserisca un ***Nome utente*** per l'utente.
   * Nel campo ***Password***, inserisca una password sicura. Utilizzi lo strumento ***Generatore di password*** (secondo pulsante accanto al campo) per aiutarla a crearla. In alternativa, selezioni la casella ***Sicurezza integrata*** per utilizzare le credenziali della sessione Windows corrente per l'autenticazione.
   * Si assicuri di selezionare la casella ***Crea login/utente del database***, altrimenti lo spazio di lavoro rimarrà inaccessibile finché un amministratore non creerà manualmente un login/utente sul server SQL.

![](https://cdnweb.devolutions.net/docs/RDMW4153_2024_3.png)

4. Clicchi su ***OK*** per salvare la nuova configurazione utente.

### Risoluzione dei problemi

A volte si verifica una discrepanza tra i diritti utente in Remote Desktop Manager e quelli nel database SQL. Per porvi rimedio, clicchi sul pulsante ***Correggi login SQL*** (icona del martello).

![](https://cdnweb.devolutions.net/docs/RDMW4155_2024_3.png)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.devolutions.net/rdm/it/knowledge-base/how-to-articles/implement-the-database-login-mode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
