AudienceLoader.IsUserMemberOfSharePointGroup Method

Determines whether the current user is a member of the specified SharePoint group.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)


Public Function IsUserMemberOfSharePointGroup ( _
    groupDisplayName As String _
) As Boolean
Dim instance As AudienceLoader
Dim groupDisplayName As String
Dim returnValue As Boolean

returnValue = instance.IsUserMemberOfSharePointGroup(groupDisplayName)
public bool IsUserMemberOfSharePointGroup(
    string groupDisplayName


  • groupDisplayName
    Type: System.String
    The display name of the SharePoint group.

Return Value

Type: System.Boolean
true or false.

See Also


AudienceLoader Class

AudienceLoader Members

Microsoft.Office.Server.WebControls Namespace