I'm using some code to identify the Users name based on their unique UserID (courtesy of DrJavaJoe) and need to identify which Domain a User is set up in. Is there a way to identify the Domain from the log on script? (The Application that I am writing will be used by the User whose Domain needs to be identified and not used by a third party trying to identify someone else). If not I can loop through the possibilities but that's not so neat.
TY.
TY.