SPWeb.IsCurrentUserMemberOfGroup Method
Gets whether the current user is a member of the specified group.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- groupId
- Type: System.Int32
The group identifier (ID).