I've some code to check if a user is part of an Active Directory group.
I use it on a Sharepoint 2007 Web Part.
It works fine for my account but I'm an Administator. For other users it seems like it's loading but just keeps loading.
My code is below.
Any advise appreciated.
private bool userIsInGroup(string theUser, string theGroup,