Deleting Users

Discuss SolidWorks PDM
User avatar
JSculley
Posts: 577
Joined: Tue May 04, 2021 7:28 am
Answers: 54
x 7
x 809

Deleting Users

Unread post by JSculley »

Our PDM Vault has become cluttered with users who are no longer employed here. A quick check shows me that 64% of the users are no longer employees. It looks like I can safely delete them and the only side effect is that the file history dialog with add (deleted MM/DD/YYYY) beside the username.

Are there any unintentional side effects that I should be aware of?
Ronan
Posts: 21
Joined: Wed Jul 28, 2021 7:00 am
Answers: 0
Location: UK
x 29
x 5

Re: Deleting Users

Unread post by Ronan »

Are you able to disable the users. We use DDM as out PDM system and that is what we do with users who have left. The hides them from coming up in general searches etc. but keeps their history.
Ideas are simple, once you've thought of them
User avatar
AlexB
Posts: 437
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 22
x 242
x 385

Re: Deleting Users

Unread post by AlexB »

The only issue, or quirk really, that we get is via the PDM add-in with the Get Version dialog. It will stop showing who the user was that checked it in if they're deleted. However, the file's history shows everything correctly.
image.png
image.png
image.png (26.64 KiB) Viewed 1223 times
Users are still stored in the PDM database, but are marked as deleted (Enabled column value set to 0) with their deletion date added to their username field as well.
image.png
image.png (3.51 KiB) Viewed 1223 times
Edit: This is a different user than the one in the above 2 images which is why the deleted dates are different
User avatar
JSculley
Posts: 577
Joined: Tue May 04, 2021 7:28 am
Answers: 54
x 7
x 809

Re: Deleting Users

Unread post by JSculley »

AlexB wrote: Wed Mar 15, 2023 11:12 am The only issue, or quirk really, that we get is via the PDM add-in with the Get Version dialog. It will stop showing who the user was that checked it in if they're deleted. However, the file's history shows everything correctly.
Nice. Looks like that is

SPR 1108127 --- Inconsistency with how a deleted user in PDM is displayed, as '-' in the 'get' menu in SOLIDWORKS using the PDM add-in when compared to the history of the file in PDM

I've also discovered that you can still enter the deleted username in the search dropdown for users and get results. This is probably the only place I would want to search with a user that has been deleted. I often know who worked on some project in the past but don't know what files were involved, so searching for transitions by the user can help narrow things down.
image.png
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: Deleting Users

Unread post by jcapriotti »

As a side note, 2023 added the ability to restore a deleted user from the admin tool. As @AlexB mentioned, it just flags them in the DB, doesn't actually delete them. In fact, I've restored a user account manually on a couple of occasions.
Jason
User avatar
VicFrauenfeld
Posts: 83
Joined: Fri Mar 12, 2021 9:27 am
Answers: 0
Location: Cleveland, Wisconsin USA
x 81
x 77

Re: Deleting Users

Unread post by VicFrauenfeld »

I have been adding the acronym (NLE) to the users that have left the company. It stands for No Longer Employed. I added it at the end of their name in the "Full name:" value of their User properties form. It keeps the user in the system, but helps me sort the list of users.

I also make sure that these users are removed from any groups (so they don't have any permission to do anything in PDM).
image.png
Be quick to listen, slow to speak and slow to become angry.
User avatar
Diaval
Posts: 87
Joined: Wed Mar 17, 2021 12:01 pm
Answers: 7
Location: Stockholm
x 50
x 110

Re: Deleting Users

Unread post by Diaval »

VicFrauenfeld wrote: Mon Mar 20, 2023 11:12 am I have been adding the acronym (NLE) to the users that have left the company. It stands for No Longer Employed. I added it at the end of their name in the "Full name:" value of their User properties form. It keeps the user in the system, but helps me sort the list of users.

I also make sure that these users are removed from any groups (so they don't have any permission to do anything in PDM).

image.png
To be safe, you should also set the Refuse Login permission under the Administrative Permissions.
-- To espouse elucidation we must eschew obfuscation
User avatar
VicFrauenfeld
Posts: 83
Joined: Fri Mar 12, 2021 9:27 am
Answers: 0
Location: Cleveland, Wisconsin USA
x 81
x 77

Re: Deleting Users

Unread post by VicFrauenfeld »

Diaval wrote: Tue Mar 21, 2023 12:37 pm To be safe, you should also set the Refuse Login permission under the Administrative Permissions.
I thought of that while I was typing my original post. Fortunately, our IT department removes the user name from Active Directory within a day or so.

I think I might add the Refuse Login permission to my process from now on though.
Be quick to listen, slow to speak and slow to become angry.
rodface
Posts: 25
Joined: Fri Feb 11, 2022 11:49 am
Answers: 0
x 1
x 10

Re: Deleting Users

Unread post by rodface »

jcapriotti wrote: Wed Mar 15, 2023 3:04 pm As a side note, 2023 added the ability to restore a deleted user from the admin tool. As @AlexB mentioned, it just flags them in the DB, doesn't actually delete them. In fact, I've restored a user account manually on a couple of occasions.
This is nice to see added, I've used the manual workaround a few times as well.
User avatar
mp3-250
Posts: 540
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 601
x 282

Re: Deleting Users

Unread post by mp3-250 »

What about renaming them putting a "(deleted)" in front of their full name so they will be grouped together in the search drop down menu in the search cards etc.
User avatar
CarrieIves
Posts: 133
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 313
x 112

Re: Deleting Users

Unread post by CarrieIves »

Our VAR suggested having a "No longer employed" group. We move users there and they have no permissions anymore, but are still in the database. I may add the "No longer employed" or some acronym to their full name. That looks like it could be pretty useful.
Post Reply