Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've a got a People Picker on a custom list form, and I'm trying to restrict the people you can select in it. Basically, if the form is in one state (set in Page_Load), then restrict the people that can be selected to one Sharepoint group, if it is the second state, select from a different Sharepoint group.

Is this at all possible, or is any restriction of a People Picker something that needs to be set in the corresponding list field?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The PeopleEditor control exposes a property SharePointGroup. This should give you a bit of what you want - it will mean the Browse window only shows members of that group.

However, I think I remember discovering that you could still type other users (not in that group) in and that they'd still validate.

share|improve this answer

Your Answer

 
discard

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.