simonaferrara
3 years agoFrequent Contributor
Retrieve the domain of the logged-in user
Hi all, I've got the need to retrieve the domain of the user logged-in within the machine, that is: not the domain of the machine, but the domain of the user, that could be the HostName if the us...
- 3 years ago
Try the following:
sUserDomain = aqEnvironment.GetEnvironmentVariable("USERDOMAIN")
Irfan