Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to find a code-less way to validate a People Picker selection (limited to a single selection of a user) against whether they are considered to be in a (dynamic) SharePoint group which contains AD groups.

I have had success when they are in the SharePoint group proper. However, the logic fails when they are only within an AD group.

Some issues I've run into with attempted solutions:

  • I am unable to simply limit the People Picker to a certain SharePoint group due to the fact that the group depends on one of the column values in the list item.
  • GetUserMemberships from the UserProfileService web service returns no results. Perhaps my environment is configured incorrectly because this seems to be operating obviously incorrectly.
  • GetUserCollectionFromGroup from the UserGroup web service will return the members of the SharePoint group itself, as well as the AD groups, but not the members of the AD groups.
  • GetGroupCollectoinFromUser likewise only returns the groups the user is directly in, not those granted through AD groups.
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.