I am working on a script for creating users and have run into a strange issue. My script calls for updates to a user and when run it confirms that it works with -verbose tag, but the dialog box doesn't reflect the change. Running a Get-PWUserSettingByUser confirms that the change is made.
I have logged out of Bentley completely and logged back in to confirm that these settings are accurate.
Here's the part of my script for reference:
$users = Get-PWUsersByMatch -Email $Email -verbose
Set-PWUserIdentity -users $users -Identity $email -verbose
Update-PWUserSetting -InputUsers $Users -SettingName Doc_CanModify $true -verbose
Update-PWUserSetting -InputUsers $Users -SettingName Doc_CanDelete $false -verbose
Update-PWUserSetting -InputUsers $Users -SettingName Doc_UseLocalRecycleBinOnFree $false -verbose
Please close ProjectWise Administrator, re-open it, log into the same datasource and confirm whether the changes are made.
Mark Weisman | Bentley Systems
Found the issue. There was a version mismatch between my ProjectWise Explorer and ProjectWise Admin. I reinstalled them both to version 10.00.03.334 and now the settings match up.
In the settings dialog box what was once labeled 'Document' (see previous screenshot) is now 'Folder'.
Answer Verified By: Richard Gibbons
oh good catch, i didn't even think of that.