cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wlblakeshaw
Level 2

Current User ID via InstallScript

In InstallScript, I am trying to get the currently logged in user ID, but can't seem to find any function that can provide this (SYSINFO, GetSystemInfo and "Is" don't provide it as far as I can tell).

Thanks!
Labels (1)
0 Kudos
(2) Replies
Cary_R
Level 11

Check out GetEnvVar(). You can pull %USERNAME% this way.
0 Kudos
wlblakeshaw
Level 2

That works for me. Thanks much! 🙂
0 Kudos