S Prasath's Blog

Wednesday, 4 June 2014

Check if current user belongs to particular group


To check if the current user belongs to particular group use the following code.


SPGroup Administrator_Group = SP_Web.Groups["Administrator"];
bool is_Administrator_Group =  SP_Web.IsCurrentUserMemberOfGroup(Administrator_Group.ID);


Posted by Unknown at 03:13 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: SharePoint C#
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2017 (1)
    • ►  February (1)
  • ▼  2014 (9)
    • ►  October (1)
    • ►  July (1)
    • ▼  June (1)
      • Check if current user belongs to particular group
    • ►  March (2)
    • ►  February (2)
    • ►  January (2)
  • ►  2013 (14)
    • ►  December (4)
    • ►  September (3)
    • ►  August (1)
    • ►  June (2)
    • ►  May (4)

About Me

Unknown
View my complete profile

Labels

  • Reports
  • Sharepoint 2010
  • SharePoint C#
  • Sharepoint CSS
  • SharePoint Designer 2013
  • Sharepoint JavaScript
  • Sharepoint Knowledge
  • SharePoint PowerShell
  • Sharepoint Server
  • WebPart
Picture Window theme. Powered by Blogger.