Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

User Name showing up with Domain Name for some users

  Asked By: Abhishek    Date: Feb 05    Category: Sharepoint    Views: 14214

Many people have been complaining about this before and I want to know what
exactly cause this and a fix for a life time.

we are using AD authentication, sometimes user name show up as
firstname.lastname and sometimes as domain\firstname.lastname



6 Answers Found

Answer #1    Answered By: Chandrabhan Baroova     Answered On: Feb 05

Check your AD user  properties.......

Answer #2    Answered By: Stacey Wilder     Answered On: Feb 05

but I am more interested in finding the cause.

We have verified AD user  properties are just fine.

Answer #3    Answered By: Francis Vargas     Answered On: Feb 05

Just a hunch, but check the domain  membership of the workstation that the user
is logged in at when the user  is added. I suspect that the only time  it shows
up without the domain\ prefix is when the user is automatically logged in from a
workstation in the same domain as the SharePoint server. Otherwise SharePoint
recognizes that the user is not in its default domain and places the domain name
prefix on the user name.

Answer #4    Answered By: Tori Oconnor     Answered On: Feb 05

but the problem is that domain  name\user name
persist in SharePoint, takes over the display name property and used for all

We have around 500 users  on the portal and around 15 had this problem. I made a
small program to update display names of these users (using SPUser object ) and
since then it is working fine.

If AD properties were the issue, this should have re-occur after a full
profile import.

Recently some new hires were added to the AD and one of them has reported this

Answer #5    Answered By: Kristan Benjamin     Answered On: Feb 05

I wasn't saying that it was the way it was listed in AD that was the problem.
I was suggesting that it had to do with the way the person who was adding the
user to SharePoint was logged in. As a later reply stated it probably does have
something to do with whether the person adding the user  was logged in to a
machine that had the SharePoint site in the Trusted Sites zone or not. When the
person is added to SharePoint a record is created. This is NOT the profile
record, that is created separately. When the person is added to SharePoint it
will generate a Display name for them in the People and Groups table. If that
gets created wrong then it needs to be fixed manually (your program is one
solution). Its not the AD properties, it's the way the person is being added
to SharePoint, or something about the workstation of the person who is doing the

Answer #6    Answered By: Vivian Mcguire     Answered On: Feb 05

If users  have added the Sharepoint to the Trusted SItes, the name will appear as
it is listed in AD: First Last, Last First, Etc.

If users have not done this and logged in through the login prompt then the
login will show  as domain\user

Didn't find what you were looking for? Find more on User Name showing up with Domain Name for some users Or get search suggestion and latest updates.