In active directory, what is mailNickname used for?

dotjoe picture dotjoe · Feb 2, 2009 · Viewed 27.9k times · Source

In active directory, should mailNickname always equal samaccountname? Or, should it always be equal to the mail property (minus the "@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?

Thanks

Answer

BobbyShaftoe picture BobbyShaftoe · Feb 3, 2009

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