AD Domain question
In active directory on the user properties dialog and the account Tab there is a field. The first textbox at top left is "User login name:”, to the right of that there is a dropdown with @domain.local. Does anyone know what property or object needs to be populates to put a value here开发者_高级运维 when creating user programmatically?
That's the userPrincipalName
(UPN). You typically set it to the value of sAMAccountName
and add @domain.local. If your using the dsadd user
command you need to specify the -upn parameter for this to be populated.
精彩评论