Skip to content
May 15, 2012 / red1s

Quick Tip–Add a SharePoint 2007 people picker to your webpart

If you need to add a pre-built  SharePoint 2007 people picker control to your webparts:


you can use the PeopleEditor class (Make sure you’ve added the SharePoint reference to the file)

From there you can use the CommaSeparatedAccounts property


This will save the logged in user, which is useful for retrieving and passing those values back to the SharePoint dialog(possibly for editing purposes)



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: