开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜