This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Current User ID via InstallScript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 12, 2011
10:30 AM
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!
Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2011
11:06 AM
Check out GetEnvVar(). You can pull %USERNAME% this way.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2011
04:26 PM
That works for me. Thanks much! 🙂