You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > CommunityGroup Class > CommunityGroup Methods > AddUserToCommunityGroup Method > AddUserToCommunityGroup
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CommunityGroup.AddUserToCommunityGroup Method (long, long, bool)

Adds a user to a community group. This method allows you to bypass community group enrollment moderation. 

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 = "AddUserToCommunityGroup with override", Description = "Adds a user to a community group.")]
public void AddUserToCommunityGroup(long groupId, long userId, bool overridePending);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddUserToCommunityGroup with override", Description = "Adds a user to a community group.")>
Public Function AddUserToCommunityGroup(groupId As long, userId As long, overridePending As bool) As void
Parameters 
Description 
groupId 
ID of the community group. 
userId 
ID of the user to be added. 
overridePending 
Set to true if you wish to bypass community group enrollment moderation. 
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!