Can anybody tell me how to get servers domain name in asp.net? (
Environment.UserDomainName returns "IIS APPPOOL" string)
Thanks for replays, but mostly they are about DNS name of the server, what I need is the domain name. For example when I login via windows authentication I type domain\user and I need this "domain"