You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > CommunityGroup Class > CommunityGroup Methods > IsUserInCommunityGroup
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CommunityGroup.IsUserInCommunityGroup Method

By providing the community group's ID and the user's ID, you can find out if a user belongs to a given community group. Returns true if the user is a member of the community group.

C#
public Boolean IsUserInCommunityGroup(Long communityGroupId, Long userId);
Visual Basic
Public Function IsUserInCommunityGroup(ByVal communityGroupId As Long, ByVal userId As Long) As Boolean
Parameters 
Description 
communityGroupId 
ID of a community group to check membership. 
userId 
User ID to be checked. 

True if the user is a member of the community group.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!