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

Returns true if the user is a member of the community group. 

This method can be accessed through the CommunityGroup.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/CommunityGroup.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "IsUserInCommunityGroup", Description = "Returns true if the  user is a member of the community group.")]
public bool IsUserInCommunityGroup(long communityGroupId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "IsUserInCommunityGroup", Description = "Returns true if the  user is a member of the community group.")>
Public Function IsUserInCommunityGroup(communityGroupId As long, userId As long) As bool
Parameters 
Description 
communityGroupId 
ID of community group to check membership. 
userId 
User ID to check for. 

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!