samAccountName Vs userPrincipalName
In this article, I am going to explain the difference between a samAccountName and a userPrincipalName which are often used in an Active Directory context. samAccountName It was used with an earlier version of windows (pre-windows 2000). User login name is in the format of DomainName\testUser. It should be less than 20 characters. It should be ... Read more