Hi, we use an script for adding users to RDM:
Import-Module "${env:ProgramFiles(x86)}\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1"
$user = New-RDMUser -Login "XXX\$new_samaccountname" -IntegratedSecurity -Email "$new_user_logon_name"
$user.FirstName = "$new_firstname"
$user.LastName = "$new_lastname"
$user.UserType = "User"
Set-RDMUser $user
But I want to add
AllowOfflineEdit = true
AllowRevealPassword = true
CanExport = false
How can I do that ?
Thx
Hello,
What RDM version are you using?
In the latest version, the Export and Reveal/View password rights are managed through System Permissions and Entry Configuration permissions instead at the user level.
For the AllowOfflineEdit property, here is a sample script to update it.
[xml]$xml = $user.CustomSecurity
$tmp = $xml.CreateElement("AllowOfflineEdit")
$tmp.Set_InnerText("true")
$xml.CustomSecurity.AppendChild($tmp)
$user.CustomSecurity = $xml.InnerText
Set-RDMUser $user
Best regards,
Érica Poirier
thx