Hi
I've done a bit of searching and been unable to unearth or understand a definite answer.
Currently i have an asp.net project running on IIS7 and the application pool is running under the Network Service account. In this project i need to get a list of the users groups (including nested). I had some success with the GetAuthorisation groups method using a principal context, but this doesnt work on all of my customers sites.
I then went to use the tokenGroups method which i've also got working. But i am struggling to get it working at a particular site.
When i do a query for the users attribute or use the user.refreshCache method it does not work. The only way i can get it to work is if my client enters his domain admin credentials.
So my question is how can i get the website or the Web servers Network Service account to have permissions to retrieve the tokenGroups attribute?