> 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/powershell/it/powershell-commands/set-dsaddinrootpermission.md).

# Set-DSAddInRootPermission

### Sinossi

Modifica l'autorizzazione 'Add in root'

### Sintassi

#### \_\_AllParameterSets

```
Set-DSAddInRootPermission [-ID] <guid> [-Override] <SecurityRoleOverride> [[-UserIDs] <guid[]>]
 [-WhatIf] [-Confirm] [<CommonParameters>]
```

### Descrizione

Modifica l'autorizzazione 'Add in root'. Può essere utilizzata solo su una radice. Se l'override dell'autorizzazione della radice è 'Never', verrà modificato in 'Default'.

### Esempi

```powershell
PS C:\> $userIds = Get-DSUsers -All | Where Name -like *@domain.loc | Select -ExpandProperty ID
PS C:\> $userGroupIds = Get-DSRole -All | Where Name -eq UserGroupA | Select -ExpandProperty ID
PS C:\> $ids = $userIds + $userGroupIds
PS C:\> Set-DSAddInRootPermission -ID $rootID -Override CustomInherited -UserIDs $ids
```

Concede il diritto di aggiungere nella radice agli utenti i cui nomi utente terminano con '@domain.loc' e al gruppo di utenti UserGroupA. Gli utenti e i gruppi di utenti provenienti dalle autorizzazioni predefinite devono mantenere questo diritto.

### Parametri

#### -Confirm

Richiede una conferma prima di eseguire il cmdlet.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ID

ID della radice

```yaml
Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Override

Determina come viene risolta l'autorizzazione 'Add In Root'. Sono disponibili cinque opzioni: Default => Utilizza il valore predefinito delle impostazioni. Custom => Specifica chi può aggiungere nella radice. Everyone => Equivalente a Allowed nell'interfaccia utente. Tutti possono aggiungere nella radice. Never => Equivalente a Disallowed nell'interfaccia utente. Solo gli amministratori possono aggiungere nella radice. CustomInherited => Una combinazione di Default e Custom. Aggiunge utenti a quelli predefiniti che possono aggiungere nella radice.

```yaml
Type: Devolutions.RemoteDesktopManager.SecurityRoleOverride
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -UserIDs

Id di utenti, gruppi di utenti e applicazioni a cui verrà concesso il diritto di aggiungere nella radice.

```yaml
Type: System.Guid[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 2
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -WhatIf

Mostra cosa accadrebbe se il cmdlet venisse eseguito. Il cmdlet non viene eseguito.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, veda [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Note

Per maggiori informazioni, digiti "Get-Help Set-DSAddInRootPermission -detailed". Per informazioni tecniche, digiti "Get-Help Set-DSAddInRootPermission -full".


---

# 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/powershell/it/powershell-commands/set-dsaddinrootpermission.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.
