User management configuration settings#

plans-img Available on all plans

deployment-img Cloud and self-hosted deployments

Manage your Mattermost users including their access permissions, groups, teams, channels, as well as their access to the System Console. Access user management options in the System Console by going to User Management:


Users#

Also available in legacy Mattermost Enterprise Edition E10 or E20

Mattermost system admins can provision and manage user accounts, team membership, roles and permissions, and update user email addresses.

Provision users#

Getting people set up with a Mattermost account is typically something that system admins do when deploying and configuring the Mattermost workspace. A Mattermost admin can provision Mattermost users using one or more of the following methods:

Find users#

You can find a user using the System Console.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Type the name of the user or the username or the user ID in the Search users box to find the particular user, if they exist.

Find a Mattermost user using the System Console.

Tip

From Mattermost v9.6, you can:

  • Customize this page by showing or hiding user details, including email address, member duration, last login, activity, or post, number of days active (PostgreSQL only), and number of messages posted (PostgreSQL only). You can also control how many user records display on the page at a time.

  • Search for specific users by entering a partial or full username, first name, last name, or email address in the Search field and pressing Enter.

Identify a User’s ID#

Users can be specified in Mattermost by username or user ID. Usernames automatically resolve when a match is detected. You can identify a user’s ID using the System Console, the Mattermost API, or mmctl.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select a User to review their ID in the User Configuration page.

Find the User ID under User Management using the System Console.

Alternatively, identify a user’s ID using the Mattermost API or mmctl:

  • Using the Mattermost API, make an HTTP GET request to the following endpoint: https://your-mattermost-url/api/v4/users/username/username_here. Replace your-mattermost-url with the URL of your Mattermost instance and username_here with the username you are looking for. The API response contains a JSON object that includes the user’s ID among other details.

  • Using mmctl, in a terminal window, use the following command to list all users and their IDs: mmctl user list to return a list of user IDs.

Filter user searches#

You can filter System Console user searches to narrow down results based on the team membership, role, and user status.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select Filters located to the right of the Search users field to access available filter options.

  3. Select Apply to filter user search results.

Filter the user list based on team membership, role, and user status using the System Console.

Tip

From Mattermost v9.6, you can also:

  • Filter users by activity timeframes, including the last 30 days, the previous month, and the last 6 months.

  • Mattermost Enterprise and Professional customers can export user data as a CSV report. You’ll receive the report as a direct message in Mattermost.

Activate or deactivate users#

To delete a user from your Mattermost deployment, you can deactivate the user’s account. Deactivated users have an deactivated status, are logged out of Mattermost as soon as they are deactivated, and deactivated users can no longer log back in. You can manage the user’s role, password, and email address while a user’s account is deactivated.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select a User that you wish to activate/deactivate.

  3. If the selected user is currently active, you can find the Deactivate button in the User Configuration page.

  4. Select Deactivate, and confirm the deactivation.

Deactivate a user in Mattermost using the System Console.
  1. If the user is deactivated, select Activate to re-activate the user.

Activate a user in Mattermost using the System Console.

Manage user’s roles#

Apply roles to users using the System Console. The current available roles are System Admin and Member.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Under Actions, select Manage roles.

  3. Specify whether the user has the role of System Admin or Member, and then select Save.

Manage a user's Mattermost role using the System Console.

Manage user’s teams#

Add or remove users from teams using the System Console.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select the user you want to manage.

  3. You can include the user in one new team or a group of teams. Select Add Team, select one or more teams, and then select Add.

Add a user to a Mattermost team using the System Console.
  1. To remove the user from a specific team, select More You can access more options from the More icon. next to the team name, and select Remove from team.

Remove a user from a Mattermost team using the System Console.

Tip

You can also remove the user from a specific team from the Actions column on the Users page. Select Manage Teams, and then select Remove from Team for applicable teams.

Update user’s email#

Update the emails of users using the System Console.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select the user, and enter a new email in the Email field.

  3. Select Save.

Update the email of a Mattermost user using the System Console.

Tip

You can also update the email from the Actions column on the Users page. Select Update email, enter the new email for the user, and then select Save.

Reset user’s password#

Reset a user’s password using the System Console.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select the user from the list, and then select Reset Password.

  3. Enter a new password and select Reset.

In System Console, Reset the password of a User under User Management.

You can also reset the password using the Actions column for the specific user on the Users page. Select Reset password from the Actions column dropdown, enter the new password in the pop-up dialog box and select Reset.

Revoke a user’s session#

Revoke the user sessions in case of an emergency to secure the user account using the System Console. This logs the user out of all devices.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Under the Actions column for the specific user, select Remove sessions.

  3. Select Revoke to remove all sessions for that user.

Revoke the sessions of a user using the System Console.

Review user profile details#

View user profile details using the System Console. Gather information including the user’s ID, username, email, authentication method, and team memberships.

  1. Go to System Console > User Management > Users to access all user accounts.

  2. Select the user from the list, and browse user details.

Review user details using the System Console

Groups#

Also available in legacy Mattermost Enterprise Edition E20

Manage default teams and channels by linking AD/LDAP groups to Mattermost groups.

  • System Config path: User Management > Groups

  • config.json setting: N/A

  • Environment variable: N/A

See the AD/LDAP groups documentation for details.


Teams#

Also available in legacy Mattermost Enterprise Edition E20

Manage team settings, including group synchronization for teams.

  • System Config path: User Management > Teams

  • config.json setting: N/A

  • Environment variable: N/A

See the using AD/LDAP synchronized groups to manage team or private channel membership documentation for details.


Channels#

Also available in legacy Mattermost Enterprise Edition E20

Manage channel settings, including group synchronization on channels.

  • System Config path: User Management > Channels

  • config.json setting: N/A

  • Environment variable: N/A

Notes:

  • Channels can be deleted with all content, including posts in the database, using the mmctl channel delete tool.

  • You can search for channels by channel name or by channel ID.


Permissions#

Note

plans-img-yellow Available only on Enterprise and Professional plans

Also available in legacy Mattermost Enterprise Edition E10 or E20

Restrict actions in Mattermost to authorized users only.

  • System Config path: User Management > Permissions

  • config.json setting: N/A

  • Environment variable: N/A

See advanced permissions documentation for details


System roles#

Also available in legacy Mattermost Enterprise Edition E10 or E20

Restrict System Console access to authorized users only.

  • System Config path: User Management > System Roles

  • config.json setting: N/A

  • Environment variable: N/A

See additional system admin roles documentation for details