PeopleEditor control not available error

If you’re using a PeopleEditor control in your solution and enforce the filtering of selectable users by specifying a SharePoint group in the SharePointGroup property you may see the following error instead of the PeopleEditor control:

The control is not available because you do not have the correct permissions

This can happen if the context user does not have adequate permissions against the SharePoint group you specified as the filter group.

For instance, if you create a dummy group to contain the filtered set (where the users are also part of another group which grants them specific permissions) and do not grant any permissions to it when creating, it this error will occur for the majority of users, except the admin users.

Alternatively, you can also see this error if the permissions you do grant are not sufficient for the current user when rendering the PeopleEditor control.

A simple solution to this error is to modify the group’s settings so all users can view its membership.

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve the maths problem shown below before posting: *

Follow

Get every new post delivered to your Inbox

Join other followers: