Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum how to get the folder owner propert
    • Sign In

    • State Suggested Answer
    • Replies 5 replies
    • Answers 2 answers
    • Subscribers 66 subscribers
    • Views 1077 views
    • Users 0 members are here

    how to get the folder owner propert

    Stephen Herrick
    Offline Stephen Herrick over 2 years ago

    how do you go about getting a the folder property Folder Owner,

    TIA

    Stephen

    • Sign in to reply
    • Cancel
    Parents
    • Brian Flaherty
      0 Offline Brian Flaherty Wed, Mar 17 2021 10:13 AM

      I don't believe there is a way to retrieve the current owner. We can only set the owner of a folder. Could be added if there is enough of a need.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Thu, Mar 18 2021 10:48 AM in reply to Brian Flaherty

      Disregard my reply. I looked right pass the FolderOwner property. Thanks Dan.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Dan Williams
      0 Offline Dan Williams Thu, Mar 18 2021 11:17 AM in reply to Brian Flaherty

      FWIW, as I like to say, "words get in the way"...  Unfortunately, there are multiple labels or names for the same item, property, or feature, which sometimes makes it more difficult to find what you are looking for.  And I sympathize with folks whose native language is not English since that could make identifying "similar" labels or names more difficult.

      I think part of the problem is the old joke about the "hardest thing in programming", which of course has the punchline "is naming things".

      I believe that the philosophy of using the same label or name for essentially the same thing that PowerShell appears to use, should be embraced more.  The idea that "Name" is common to so many objects, that including the object's type in the name is redundant at best, and makes it difficult or impossible for "automatic" property assignment that PowerShell does so well.  For example I think that "FolderOwnerName" should have left out the object type "Folder" and "OwnerName" or even "Owner" would have been preferable.

      But as that awful phase goes, "it is what it is".  And changing it has its own challenges..

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Dan Williams
      0 Offline Dan Williams Thu, Mar 18 2021 11:17 AM in reply to Brian Flaherty

      FWIW, as I like to say, "words get in the way"...  Unfortunately, there are multiple labels or names for the same item, property, or feature, which sometimes makes it more difficult to find what you are looking for.  And I sympathize with folks whose native language is not English since that could make identifying "similar" labels or names more difficult.

      I think part of the problem is the old joke about the "hardest thing in programming", which of course has the punchline "is naming things".

      I believe that the philosophy of using the same label or name for essentially the same thing that PowerShell appears to use, should be embraced more.  The idea that "Name" is common to so many objects, that including the object's type in the name is redundant at best, and makes it difficult or impossible for "automatic" property assignment that PowerShell does so well.  For example I think that "FolderOwnerName" should have left out the object type "Folder" and "OwnerName" or even "Owner" would have been preferable.

      But as that awful phase goes, "it is what it is".  And changing it has its own challenges..

      • 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