The User group represents users that are on the domain or the local machine. Until you understand how the code works, only run it on test machine, and domains where you do not jeopardize security. Because of this, Anonymous authentication will always fail. Either use Windows NT Challenge Response Authentication for access on the local Intranet or use Basic authentication over an SSL channel for the Internet. The first task in working with Windows NT authentication is the creation of a user on a domain.
Domains can either be a stand-alone machine, or primary domain controllers.
Creating a user on a stand-alone machine will create the user on the local machine, allowing them to login. Creating the user on the domain controller allows the user to log into the network. Nothing Notice that we use two strings that need to be configured, one represents the user and the other the domain. Also notice that we called the SetInfo method on the user object that we got back from the domain. Until you call SetInfo, the information is not written to the authentication database.