Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Group Memberships

  Asked By: Mrigendra    Date: Mar 09    Category: Sharepoint    Views: 1528

Can anyone tell me if there is a quick and dirty way to find out what
group a person is a member of?

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Corrine Potts     Answered On: Mar 09

programmatically you can do something like this

//IS CURRENT USER MEMBER OF THESE GROUPS
using (SPSite site = new SPSite(SHAREPOINT_SITE_URL_BASE))
{
using (SPWeb web = site.OpenWeb())
{
foreach (string groupName in
Enum.GetNames(typeof(WebConstants.SPGROUPS)))
{
SPGroup spGroup = web.Groups[groupName];
if (spGroup != null)
{
if (spGroup.ContainsCurrentUser)
{
SPUserGroupList.Add(groupName);
}
}
}
}
}

 
Answer #2    Answered By: Kabeer Karkare     Answered On: Mar 09

Not out of the box, no. Barracuda Tools has a product called DeliverPoint
that will help you discover the permissions and associations that a user has
throughout your Farm deployment.

 
Answer #3    Answered By: Nathaniel Davis     Answered On: Mar 09

do you have a web site for this tool?

 
Answer #4    Answered By: Zoe Cotton     Answered On: Mar 09
 
Answer #5    Answered By: Alexander Scott     Answered On: Mar 09

be sure to register on the site and download the free trial.

 
Didn't find what you were looking for? Find more on Group Memberships Or get search suggestion and latest updates.




Tagged: