Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum I'm looking for a way to change/set a user's "Settings"
    • Sign In

    • State Not Answered
    • Replies 13 replies
    • Subscribers 67 subscribers
    • Views 3790 views
    • Users 0 members are here
    • powershell
    • UserList

    I'm looking for a way to change/set a user's "Settings"

    Robert Biggar
    Offline Robert Biggar over 5 years ago

    specifically...under "user Interface"; turn on Edit Sets. I think I can filter out the usernames I want to work on, but I don't see a way to change the settings. is that a capability yet?

    Thanks!

    Bob

    • Sign in to reply
    • Cancel
    Parents
    • Robert Biggar
      0 Offline Robert Biggar Thu, Aug 30 2018 11:11 AM

      Brian:

      I didn't have those cmdlets loaded, but I noticed that I was missing them for another thing and after I loaded them and went through them....I noticed the "Get-/Set-PWUserSetting" cmdlets.

      one question though; it mentions that you provide an "Enum Value"...am I correct in assuming that Enumeration table is in the ProjectWise SDK?

      Thank You!

      Bob

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Aug 30 2018 6:22 PM in reply to Robert Biggar

      do you have the latest projectwise administrator? I tested this in my dev environment:

      set-pwusersetting -UserID 10 -UserSettingCategory "UI" -UserSettingName "CanEditSets" -UserSettingValue 0

      If you do a Get-PWUserSetting -UserID 1 it will show all the user setting categories and setting names.  Most values are 1 for on and 0 for off.

      Note - my production system runs a much earlier version of PW Connect and this command works completely differently on there (and edit sets isn't available). Not sure at what version these changes were made.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Robert Biggar
      0 Offline Robert Biggar Thu, Jun 20 2019 9:13 AM in reply to Kevin van Haaren

      Kevin:

      I am trying to identify user accounts whose "Authentication" is set to "Windows"...and perhaps change it to "Windows Synchronize"...I can't seem to find that in any of the docs...have you seen this setting anywhere?

      Thank you, sir

      Bob

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Jun 20 2019 10:38 AM in reply to Robert Biggar

      I don't think this one is possible yet. if i remember correctly, sombody posted a method that involved working with the sql tables directly. Brian Flaherty might know if these commands are coming.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Robert Biggar
      0 Offline Robert Biggar Thu, Jun 20 2019 11:43 AM in reply to Kevin van Haaren

      Thank You, Kevin!

      B

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Robert Biggar
      0 Offline Robert Biggar Thu, Jun 20 2019 11:43 AM in reply to Kevin van Haaren

      Thank You, Kevin!

      B

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    No Data

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies