Get Domain Name
Ever wanted to get the Domain of the currently logged on user?
This code works on Windows NT and further.
Original Author: Nico Debeuckelaere
Returns
Domain Name as a string
Code
Msgbox Environ("USERDOMAIN")
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.