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);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment