Howto I get the user domain\username and Display name From SharePoint People Picker InternalId?

Posted by Benjamin Wong on Stack Overflow See other posts from Stack Overflow or by Benjamin Wong
Published on 2010-03-08T11:28:54Z Indexed on 2010/05/31 21:33 UTC
Read the original article Hit count: 788

I have been trying to user sharepoint designer to retrieve the user's full name and even the domain\username from the people pucker field but the problem is I tend to get numbers. It looks like the intetrnal Id. In my case I am getting 14 instead of domain\username from the list form's field.

Any idea on where I can get the dmain\username or even better the full name?

Thanks !!

I am using SharePoint Designer and Windows Sharepoint Services 3/SharePoint 2007.

Update :

I have managed to get the domain\username now. I just had to change the people picker's show field to ID. However now I am getting a weird prefix on my domain\username. I am getting this -1;#domain\username instead of just domain\username. Anybody know how I can overcome this?

Thanks !!

© Stack Overflow or respective owner

Related posts about sharepoint2007

Related posts about sharepoint-designer