UIKit Component: Community membership components are built on top of the social.plus SDK, providing ready-to-use member management UI with full data management handled automatically.

Feature Overview

Community Membership UIKit components provide comprehensive tools for managing community members, handling join requests, processing invitations, and tracking membership analytics. These components enable community administrators to effectively manage their member base through intuitive interfaces that handle invitations, approval workflows, member roles, and membership insights—all built on top of the social.plus SDK.

Key Features

Member Administration

Comprehensive member management
  • Member list display and management
  • Role assignment and permission control
  • Member profile access and interactions
  • Member removal and ban functionality

Invitation System

Member invitation workflows
  • Send invitations to new members
  • Track invitation status and responses
  • Manage pending invitation lists
  • Configure invitation permissions and limits

Join Request Processing

Join request handling and approval
  • Review and approve join requests
  • Decline inappropriate requests
  • Automated approval workflow options
  • Join request notification management

Membership Analytics

Membership insights and tracking
  • Member growth and activity metrics
  • Invitation success rate tracking
  • Join request approval statistics
  • Member engagement analytics

Implementation Guide

Core member management and administrationMember Administration components provide comprehensive tools for managing community members, including member lists, role assignments, and member profile management. These components enable administrators to effectively oversee their community membership.

Member Management Page

The member management page provides a comprehensive view of all community members with tools for administration and role management.

Features

FeatureDescription
Member List DisplayView all community members with profiles and roles
Role AssignmentAssign and modify member roles and permissions
Member SearchSearch and filter members by various criteria
Member ActionsRemove, ban, or promote members

Required Properties

PropertyTypeDescription
communityAmityCommunityThe community object for member management
currentUserAmityUserThe current user for permission validation

Customization Options

Config IDTypeDescription
member_management_page/*/*PageCustomize overall page theme and layout
member_management_page/*/member_list_itemComponentMember list item styling
member_management_page/*/role_badgeElementMember role badge appearance
member_management_page/*/action_buttonsElementMember action button styling
member_management_page/*/search_barElementMember search interface styling
member_management_page/*/member_avatarElementMember profile picture display

Code Examples

let memberPage = AmityMemberManagementPage(community: community)
let viewController = AmitySwiftUIHostingController(rootView: memberPage)
navigationController?.pushViewController(viewController, animated: true)
// Navigate to member profile
func navigateToMemberProfile(member: AmityUser) {
    let profilePage = AmityUserProfilePage(user: member)
    let viewController = AmitySwiftUIHostingController(rootView: profilePage)
    navigationController?.pushViewController(viewController, animated: true)
}

// Handle member actions
func handleMemberAction(action: MemberAction, member: AmityUser) {
    switch action {
    case .promote:
        // Promote member to moderator
        break
    case .remove:
        // Remove member from community
        break
    case .ban:
        // Ban member from community
        break
    }
}
Implementation Strategy: Start with the Member Management Page as your central hub for community administration, then implement invitation workflows to grow your community organically. Use the Pending Request Page to handle join requests efficiently, and configure approval processes based on your community’s privacy and moderation requirements. Consider implementing automated invitation tracking and join request notifications to streamline membership management workflows. Focus on providing clear feedback for all membership actions and ensure smooth navigation between member profiles, invitation status, and approval interfaces.