social.plus Member Management provides administrators and moderators with direct control over community membership. This administrative approach allows bypassing normal join workflows to efficiently manage member onboarding, staff additions, member cleanup, and enforcement actions.

Add Members

Directly add users to communities bypassing approval workflows

Remove Members

Remove members for rule enforcement or community cleanup

Bulk Operations

Efficiently manage multiple members with batch operations

Administrative Control

Complete member lifecycle management for moderators
Member management functions require appropriate moderator permissions. Adding members to private communities automatically grants them access to community content, while removing members revokes all community privileges.

Administrative vs User-Initiated Actions

Understanding the difference between administrative member management and user-initiated actions:
Action TypeWho InitiatesUse CasesApproval Required
Administrative AddModerators/AdminsStaff onboarding, VIP access, bulk importsNo - Direct addition
User JoinUsers themselvesOrganic growth, self-service joiningDepends on community settings
Administrative RemoveModerators/AdminsPolicy violations, cleanup, role changesNo - Immediate removal
User LeaveUsers themselvesVoluntary departure, account managementNo - Immediate departure

Add Members

The 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.

Parameters

ParameterTypeRequiredDescription
userIdsString[]YesArray of user IDs to add as community members
communityIdStringYesID of the target community
do {
    let isAdded = try await communityMembership.addMembers(["user1", "user2"])
} catch {
    // Handle error here
}

Remove Members

The 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.

Parameters

ParameterTypeRequiredDescription
userIdsString[]YesArray of user IDs to remove from the community
communityIdStringYesID of the target community
Removing members is immediate and permanent until they are re-added or rejoin. Consider using warnings or temporary restrictions before removing members entirely.

Implementation

// Remove members from community
func removeMembersFromCommunity(
    communityId: String,
    userIds: [String]
) {
  do {
    let isRemoved = try await communityMembership.removeMembers(["user1", "user2"])
} catch {
    // Handle error here
}