Datasource Properties - Recycle Bin

Can datasource level settings like enabling/disabling the Recycling bin be done via PWPS_DAB? 

I see user attributes, some audit trail, and environment/attribute settings, but nothing else.

Parents
  • Yes you can!

    #You can grab the setting through this cmdlet.

    Get-PWUserSetting -UserID 32 -UserSettingCategory General

    #You can set it like this

    Set-PWUserSetting -UserID 32 -UserSettingCategory General -UserSettingName CanAccessDeletedItemsFolder -UserSettingValue 0

    I do believe this only works in PowerShell (x86) but you can try both!

Reply
  • Yes you can!

    #You can grab the setting through this cmdlet.

    Get-PWUserSetting -UserID 32 -UserSettingCategory General

    #You can set it like this

    Set-PWUserSetting -UserID 32 -UserSettingCategory General -UserSettingName CanAccessDeletedItemsFolder -UserSettingValue 0

    I do believe this only works in PowerShell (x86) but you can try both!

Children