>>Hi,
>>
>>Do you know if the username used by Active Directory (AD) is unique in the AD? This is the username (along with the password) that a person enters into his/her PC when logging in.
>>
>>TIA
>>
>>UPDATE. I asked this question a customer IT and she said it is unique.
>
>Yes, the username must be unique as it's an attribute used for signing in.
>
>There's a separate "Display Name" attribute which appears in many places in Windows. That can be completely different from the username and I believe they do not have to be unique.
>
>
https://www.zubairalexander.com/blog/the-strange-way-in-which-active-directory-implements-the-full-name-attribute/Thank you for the article. I use both the AD username and the display name. The table in my app that stores all users didn't have a column for the AD username before. And at that time the display name had to be unique. Now I added the AD username - for some customers. And since the display name for these customers can be the same I ran into an issue. This is what I am troubleshooting. But endless support calls yesterday and today won't let me concentrate on resolving the problem :) This is what the weekends are for :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham