Retrieve the current user's name

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Examples >

Retrieve the current user's name

To obtain the name of the current user, you've to read the USER_NAME option.

Example

currentUser = DBWGetOption("USER_NAME")

Here the list of all the available options