Robert Voogt

How to get user's initials

Discussion created by Robert Voogt on Feb 11, 2021
Latest reply on Feb 11, 2021 by David Watkins

Hi there,

 

I need the initials of the current user of Solidworks in a macro. The initial is the same as the one that can be found in the PDM when a user made a file. But I do not need the initials of the person that made the file, but of the current user in SW.

 

So here the SSU is the initial of the file in pdm, but my initials are RDV. (the code will change the old initials with the new initials in the summary information, I know how to do that but I cannot get the user initials. I do can get the full username but that's not what I need.) So I need a string value to become "RDV".

 

With kind regards,

Robert Voogt

Attachments

Outcomes