Set-RDMUserSecurity
Synopsis
Assign/set user security settings.
Syntax
__AllParameterSets
Set-RDMUserSecurity [-User] <PSUserInfo> [[-OfflineMode] <string>] [[-AllowDragAndDrop] <bool>]
[-SetUser] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Description
Assign/set user security settings.
Examples
PS C:\> Set-RDMUserSecurity -user $user -AllowRevealPassword $false -OfflineMode "Read/Write"Disallow the user to reveal password and set offline mode to read/write
Parameters
-AllowDragAndDrop
Allows the user to move the sessions using drag-and-drop from other applications.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-OfflineMode
Allows the user to enable the Offline Mode on the workspaces. Choose between: Disabled : no offline cache allowed for that user Cache : cache allowed for that user ReadOnly : a read-only cache is allowed for advanced workspaces. ReadWrite : an advanced cache, with change synchronization, is allowed for advanced workspaces.
-SetUser
Set user
-User
User object, must be retrieved from Get-RDMUser or created via New-RDMUser.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Set-RDMUserSecurity -detailed". For technical information, type "Get-Help Set-RDMUserSecurity -full".
Last updated
Was this helpful?