Administrative tools for adding and removing community members with bulk operations and validation workflows
Action Type | Who Initiates | Use Cases | Approval Required |
---|---|---|---|
Administrative Add | Moderators/Admins | Staff onboarding, VIP access, bulk imports | No - Direct addition |
User Join | Users themselves | Organic growth, self-service joining | Depends on community settings |
Administrative Remove | Moderators/Admins | Policy violations, cleanup, role changes | No - Immediate removal |
User Leave | Users themselves | Voluntary departure, account management | No - Immediate departure |
addMembers()
function allows administrators and moderators to directly add users to a community, bypassing normal join workflows. This is ideal for invitation-only communities, adding staff members, or bulk member management.
Parameter | Type | Required | Description |
---|---|---|---|
userIds | String[] | Yes | Array of user IDs to add as community members |
communityId | String | Yes | ID of the target community |
removeMembers()
function allows administrators and moderators to remove users from a community. This action immediately revokes all community privileges and access, useful for enforcing community rules or removing inactive members.
Parameter | Type | Required | Description |
---|---|---|---|
userIds | String[] | Yes | Array of user IDs to remove from the community |
communityId | String | Yes | ID of the target community |