What are User Groups?
User Groups are collections of participant email addresses within an organization. They help you:- Organize Participants: Group students, employees, or test-takers by class, department, or any other category
- Simplify Test Distribution: Send tests to entire groups instead of individual emails
- Manage at Scale: Handle hundreds or thousands of participants efficiently
- Reuse Groups: Create once and use across multiple tests
User Groups are organization-scoped. Each organization has its own set of user groups that only members of that organization can access.
Creating a User Group
Any member of an organization can create user groups:Add Member Emails
Include at least one participant email address. Emails are automatically normalized to lowercase.
Validation Rules
- Name: Required and cannot be empty
- Members: At least one email address is required
- Email Format: Emails are normalized (lowercase and trimmed)
- Organization: You must have a selected organization
Managing User Groups
Viewing All Groups
Retrieve all user groups for your current organization:memberCount showing how many participants are in the group.
Viewing Group Details
Get detailed information about a specific group, including all member emails:Updating User Groups
Modify group details and membership:- Removed Members: Soft-deleted from the group
- New Members: Added to the group
- Existing Members: No change if still in the list
- Restored Members: If a previously removed member is re-added, their record is restored
When updating members, the system compares the new list with existing members and efficiently handles additions, removals, and restorations.
Adding Members
Add a Single Member
- If the email is new, it’s added to the group
- If the email was previously in the group but removed, it’s restored
- If the email is already an active member, an error is thrown
Add Multiple Members
Bulk-add participants to a group:added: Successfully added new memberrestored: Previously removed member was restoredduplicate: Email already exists as active member
Removing Members
Remove a participant from a group (soft delete):Updating Member Emails
Change a participant’s email address within a group:- Old email must exist in the group
- New email cannot already exist in the group
- Both emails are normalized before processing
Deleting User Groups
Permanently remove a user group (soft delete):- The user group is soft-deleted
- All members in the group are soft-deleted
- The group no longer appears in listings
- Data is preserved for potential recovery
Ownership and Permissions
User groups are organization-scoped with automatic ownership checks:- Users can only access groups from their currently selected organization
- Users must be a member of the organization to view or modify its groups
- The system validates organization membership on every operation
Database Schema
User groups use two related tables:userGroup Table
userGroupMember Table
Use Cases
Educational Institutions
Class Sections
Create groups for each class section:
- “Biology 101 - Section A”
- “Biology 101 - Section B”
- “Chemistry 201 - Lab Group 1”
Grade Levels
Organize students by grade:
- “Freshman - Fall 2024”
- “Sophomore - Spring 2024”
- “Graduate Students”
Corporate Training
Departments
Group employees by department:
- “Sales Team”
- “Engineering - Frontend”
- “Customer Support”
Training Cohorts
Organize by training program:
- “New Hire Onboarding - Q1 2024”
- “Leadership Development”
- “Compliance Training”
Best Practices
Use Descriptive Names
Choose clear, specific names that indicate the group’s purpose and time period.
Add Descriptions
Include helpful descriptions to remind yourself and team members what each group represents.
Organize Hierarchically
Consider using naming conventions like prefixes to group related groups together:
- “2024-Spring-Biology”
- “2024-Spring-Chemistry”