.net 在活动目录中,mailNickname 有什么用?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/504868/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 11:09:13  来源:igfitidea点击:

In active directory, what is mailNickname used for?

.netactive-directoryadsi

提问by dotjoe

In active directory, should mailNickname always equal samaccountname? Or, should it always be equal to the mail property (minus the "@domain")?

在活动目录中,mailNickname 应该总是等于 samaccountname 吗?或者,它是否应该始终等于邮件属性(减去“@domain”)?

My reason for asking is that we have recently changed everyone's primary email address to the first.last form and we set the mail property to the same. But, do we also need to modify the mailNickname property?

我问的原因是我们最近将每个人的主要电子邮件地址更改为 first.last 表单,并且我们将邮件属性设置为相同。但是,我们还需要修改 mailNickname 属性吗?

Thanks

谢谢

采纳答案by benPearce

mailNickName is an email alias. If you are using Exchange then you would need to change the mail address policy which would update the mail attribute. If you use the policy you can also specify additional formats or domains for each user.

mailNickName 是电子邮件别名。如果您使用的是 Exchange,则需要更改邮件地址策略以更新邮件属性。如果您使用该策略,您还可以为每个用户指定其他格式或域。

回答by BobbyShaftoe

No, it does nothave to be the same as sAMAccountName. It just so happens that it usually is the same.

不,它不是必须是相同的sAMAccountName赋。碰巧它通常是一样的。