> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillfactory.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Member Management

> Add, edit, and manage platform users

## User management

Full control over all platform members. You can add members individually, import via CSV, or manage through classes.

## Roles

The platform has 4 access levels:

| Role          | Permissions                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------- |
| **Owner**     | Full control. First user on the platform. Cannot be removed or have their role changed.        |
| **Admin**     | General management. Can manage members (except the owner), courses, invitations, and settings. |
| **Professor** | Creates and manages courses. Can add students and professors, but not admins.                  |
| **Student**   | Accesses courses in which they are enrolled. No access to the admin panel.                     |

<Note>
  There is only one owner per platform. The owner role cannot be transferred.
</Note>

## Adding members

### Individually

<Steps>
  <Step title="Go to Admin -> Members">
    Click "New member"
  </Step>

  <Step title="Fill in the details">
    Name, email, and role. Optionally, set a specific password.
  </Step>

  <Step title="Confirm">
    The member is created and receives a welcome email with their credentials.
  </Step>
</Steps>

The password used is the default password defined in the platform settings. If no default password is set, a random 6-character password is generated.

### CSV import

To add many members at once, use CSV import.

**File requirements:**

| Requirement         | Value                          |
| ------------------- | ------------------------------ |
| Format              | CSV (`.csv`)                   |
| Maximum size        | 5MB                            |
| Maximum rows        | 1,000 members per import       |
| Required columns    | `nome` and `email`             |
| Accepted separators | Comma (`,`) or semicolon (`;`) |

<Steps>
  <Step title="Prepare the CSV">
    Create a file with `nome` and `email` columns. Each row represents a member.
  </Step>

  <Step title="Go to Admin -> Members -> Import">
    Upload the CSV file.
  </Step>

  <Step title="Review">
    The system validates the data and shows a summary before confirming.
  </Step>

  <Step title="Confirm the import">
    Members are created and receive a welcome email automatically.
  </Step>
</Steps>

**Applied validations:**

* Names: 1-255 characters, accepts accents and common special characters
* Emails: valid format and no duplicates in the file
* CSV injection protection (malicious scripts are removed)

<Info>
  The import can automatically associate members with a specific course. Select the course at the time of upload.
</Info>

## Available actions

For each member, you can:

| Action              | Description                               | Who can      |
| ------------------- | ----------------------------------------- | ------------ |
| **Edit**            | Change name, email, role, and enrollments | Admin, Owner |
| **Resend password** | Generate and send a new password by email | Admin, Owner |
| **Block/Unblock**   | Prevent or restore access to the platform | Admin, Owner |
| **Delete**          | Permanently remove member (irreversible)  | Admin, Owner |

<Warning>
  Deleting a member is permanent and removes all associated data: enrollments, progress, comments, reviews, and AI conversation history.
</Warning>

### Editing restrictions

* The owner can only be edited by themselves
* Admins cannot edit the owner
* Professors cannot edit admins or the owner
* No one can promote a user to owner

## Filters and search

The member list supports:

* **Search by name or email**
* **Filter by role** - All, Professors, Banned
* **Filter by course** - Members enrolled in a specific course
* **Filter by enrollment status** - Active, Inactive
* **Pagination** - 20 members per page

## Classes

Classes allow you to organize groups of members and enroll them in courses in bulk.

### Creating a class

<Steps>
  <Step title="Go to Admin -> Classes">
    Click "New class"
  </Step>

  <Step title="Set name and description">
    Name (3-200 characters) and optionally a custom code and description.
  </Step>

  <Step title="Add members">
    Select up to 100 members at a time.
  </Step>

  <Step title="Associate courses">
    Select the courses this class should access.
  </Step>
</Steps>

### Automatic enrollment

* When adding a member to a class -> automatically enrolled in all class courses
* When adding a course to a class -> all class members are automatically enrolled

<Note>
  Removing a member from a class does not cancel their existing enrollments in courses.
</Note>

## Next steps

<CardGroup cols={2}>
  <Card title="Invitation system" icon="envelope" href="/en/admin/invitations">
    Create access codes for new members
  </Card>

  <Card title="Certificates" icon="certificate" href="/en/admin/certificates">
    Configure certificate issuance
  </Card>
</CardGroup>
