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.
UserProfileServiceweb service returns no results. Perhaps my environment is configured incorrectly because this seems to be operating obviously incorrectly.
UserGroupweb service will return the members of the SharePoint group itself, as well as the AD groups, but not the members of the AD groups.
GetGroupCollectoinFromUserlikewise only returns the groups the user is directly in, not those granted through AD groups.