How to delete users forcefully from SDL Tridion docs using Powershell?

Hi experts,

I am trying to delete users from Tridion docs forcefully using Powershell script. I was able to delete the users using Powershell who doesn't own any content.

Thanks,

Vamsi Toleti

Parents Reply Children
  • It depends on the version of Tridion Docs you are running and whether or not this is available. Check the Web Client Content Manager UI. If the "inactivate" option is there, then you are able to do this. If it is not, then you are unable to do this via Powershell. 

    Pam Noreault | Knowledge Center Solutions Architect

  • This is kind of related. When I try to delete a user and get this message:

    0 item(s) were deleted successfully.

    1 item(s) could not be deleted.

    • VUSER<removedusername>.COM: The object cannot be deleted, because it is still used by one or more objects. Please generate a report or a full-text search to see where it is used.

    I’ve done a full text search and it does not find anything. I tried searching for this user in all the user fields on the search page and it doesn’t find anything. What report am I supposed to be able to generate to find out where this user has content associated to them?

    Thanks!