Mydomain \ ben "ben" uses the SAM account name (Security Account Manager, old Windows NT account). I do not know if there is a name for the whole construction of "mydomain \ ben".
ben@blah.net is called a UPN or User Principal Name, where "blah.net" is the UPN suffix.
There is also something in Active Directory called the Distinguished Name or DN, which for ben is likely to be "CN = ben, OU = Users, DC = l, DC = network." This is the closest to a "fully qualified" name that I think you get. It describes both the name of the object (part of CN) and the container (part of OU) where it is located in the active directory, as well as the name of the DNS domain (part of DC) Active Directory.
Of these three, the DN is the only one that can be used to bind to an LDAP user object without any other information. Using UPN, you must know the domain controller for the request. (You can also get the object from the \ SamAccountName domain, but for this you must first find the domain controller for the domain, and then search for the object with this SamAccountName).
Anders abel
source share