Online Help > PowerShell Scripting

Set-RDMUserSecurity

SYNOPSIS

Assign/set user security settings.

 

SYNTAX

Set-RDMUserSecurity -AllowDragAndDrop [AllowDragAndDrop] <Nullable`1> -AllowRevealPassword [AllowRevealPassword] <Nullable`1> -CanExport [CanExport] <Nullable`1> -CanImport [CanImport] <Nullable`1> -CanViewDetails [CanViewDetails] <Nullable`1> -CanViewGlobalLogs [CanViewGlobalLogs] <Nullable`1> -CanViewInformations [CanViewInformations] <Nullable`1> -DenyAddInRoot [DenyAddInRoot] <Nullable`1> -OfflineMode [OfflineMode] <String> -SetUser [SetUser] <SwitchParameter> -User [User] <PSUserInfo> [<CommonParameters>]

 

DESCRIPTION

Assign/set user security settings.

 

PARAMETERS

  -AllowDragAndDrop <Boolean>

Allows the user to move the sessions using drag-and-drop from other applications.

 

  -AllowRevealPassword <Boolean>

Allows the user to use the Reveal Password command.

 

  -CanExport <Boolean>

Allows the user to Export sessions.

 

  -CanImport <Boolean>

Allows the user to Import sessions.

 

  -CanViewDetails <Boolean>

Allows the user to see the content of the Details tab for all sessions.

 

  -CanViewGlobalLogs <Boolean>

Allows the user to see the content of the Logs that apply to a session.

 

  -CanViewInformations <Boolean>

Allows the user to see the content of the Information tab for all sessions.

 

  -DenyAddInRoot <Boolean>

Denies the user the rights to add in the root.

 

  -OfflineMode <String>

Allows the user to enable the Offline Mode on the data sources. Choose between:

 

Disabled : no offline cache allowed for that user

 

ReadOnly : a read-only cache is allowed for Advanced Data Sources.

 

ReadWrite : an advanced cache, with change synchronization, is allowed for Advanced Data Sources.

 

  -SetUser <SwitchParameter>

Set user

 

  -User <PSUserInfo>

(Required) User object, must be retrieved from Get-RDMUser or created via New-RDMUser.

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help Set-RDMUserSecurity -detailed". For technical information, type "Get-Help Set-RDMUserSecurity -full".

 

EXAMPLE 1

PS C:\> Set-RDMUserSecurity -user $user -CanImport $true -CanExport $true -AllowRevealPassword $false -OfflineMode "Read/Write"

 

Set user to allow it to import, export, not allow to reveal password and set offline mode to read/write and

 

RELATED LINKS

Get-RDMUser

New-RDMUser

New-RDMUser

Remove-RDMUser