There gotta be an easy way to do this, I can\'t believe there\'s none. I have scanned through net and found, like, 20 different methods to find in which domain current user is,
To get the current domain of the system on which your progam is running you can use System.DirectoryServices.ActiveDirectory.Domain.
Domain domain = Domain.GetComputerDomain(); Console.WriteLine( domain.Name );