Get User ID
Returns the user currently using the simulation.
Parameters
- Text variable to store result – Global Text variable where the result is stored.
Comments
This command is useful for recording the users having opened a simulation.
Annotated Example
In the following example, Get UserID is used On Simulation Open Visual Logic. The variable called gbl_count is incremented every time a user opens the simulation. The name of the user is stored on the txt_User global variable, using Get UserID. Then, txt_user is recorded on the ss_UsersRecord Internal Spreadsheet, and gbl_count is used for cell referencing. That way the user’s name is recorded each time someone opens the simulation.