开发者

AD Domain question

开发者 https://www.devze.com 2022-12-13 18:22 出处:网络
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.loca

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

精彩评论

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