SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create a people-picker user field where more than one user can be chosen.

Currently, this is what I'm doing:

SPField field = new SPField(contentType.Fields, "User", "Users");
SPFieldLink fieldLink = new SPFieldLink(field);

However, I imagine this only creates a field to select a single user.

share|improve this question
up vote 2 down vote accepted

Cast it to an SPFieldUser, or create an SPFieldUser in the first place, and set AllowMultipleValues to true.

share|improve this answer

you can use only AddFieldAsXml because Multiselect User Field is marked as non-UserCreatable :)

list.fields.AddFieldAsXml(<Field Type="UserMulti" DisplayName="My_User_Field" Required="FALSE" UserSelectionMode="PeopleAndGroups" UserSelectionScope="0" Mult="TRUE" Sortable="FALSE" ID="{7293d78b-f9b3-4cce-b85f-ac499fc4fcf2}")
share|improve this answer
Where is it documented that it's non-user creatable? I think I missed it on my quick scan of MSDN... – James Love Jun 6 '11 at 15:41
What is the purpose of the Mult="true" part? According to MSDN it is A scale factor used in multiplication before displaying a number – jasonscript May 15 '14 at 7:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.