docs/main/administration-guide/configure/user-management-configuration-settings.mdx
Review and manage the following in the System Console by selecting the Product menu, selecting System Console, and then selecting User Management:
Mattermost system admins can provision and manage user accounts, team membership, roles and permissions, and update user email addresses, usernames, and authentication data.
Getting people set up with a Mattermost account is typically something that system admins do when deploying and configuring the Mattermost deployment. A Mattermost admin can provision Mattermost users using one or more of the following methods:
From Mattermost v9.6, you can review the following user data in the System Console:
From Mattermost v11.0, you can also review the following authentication data for each user:
By default, you see all columns of data and data for all time.
Find a user using the System Console.
Filter System Console user searches to narrow down results based on the team membership, role, and user status.
Users can be specified in Mattermost by username or user ID. Usernames automatically resolve when a match is detected. Identify a user's ID using the System Console, the Mattermost API, or mmctl.
Alternatively, identify a user's ID using the Mattermost API or mmctl:
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.mmctl user list to return a list of user IDs.From Mattermost v9.6, Mattermost Enterprise and Professional customers can export user data as a CSV report.
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.
<Note>Re-activate a deactivated user by selecting Activate.
</Tip>If you deactivate a Mattermost user who has integrations tied to their user account, consider the following consequences and recommendations based on the integration type:
xxx-generatedkey-xxx, anyone who has the URL can post messages to the Mattermost instance. We recommend removing the incoming webhook and creating a new one associated with a different user account.From Mattermost v11.1, you can can view and update user attribute values for individual users directly from the System Console. This capability provides a centralized way to manage user profile attributes without requiring users to update their own profiles or using mmctl user attribute commands.
From Mattermost v10.11, when using email/password for authentication, you can enable users to permanently delete their own accounts, or you can delete user accounts as a system administrator.
Define the URL for a Delete Account Link that users can access by going to their profile and selecting Security > Delete Your Account. Leave this field blank to hide the abiltiy for users to delete their account.
<table style={{width: '90%'}}> <colgroup> <col style={{width: '90%'}} /> </colgroup> <tbody> <tr> <td>This feature's <code>config.json</code> setting is <code>"ServiceSettings.DeleteAccountLink": ""</code> with string input.</td> </tr> </tbody> </table>When a user deletes their account, deleted accounts cannot be reactivated, and the user is automatically removed from all teams and channels.
When an account is permanently deleted, the following data is permanently removed:
After account deletion, audit logs referencing the user's actions, channel and team membership are retained.
Apply roles to users using the System Console. The current available roles are System admin and Member.
Add or remove users from teams using the System Console.
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.
</Tip>From Mattermost v9.11, system admins can help end users customize their Mattermost notifications by editing the user's notification settings on the user's behalf within the System Console. Users can view, modify, and override their own settings at any time.
If a user, whose account details are synchronized with AD/LDAP, can't access their Mattermost account due to too many failed login attempts, you can reset the number of failed login attempts for their user account in the System Console.
To adjust the maximum login attempts allowed for all users, go to System Console > Authentication > AD/LDAP > Maximum Login Attempts. Lowering this configuration setting value below the maximum threshhold allowed on your AD/LDAP server will ensure that your users won’t get locked out of AD/LDAP due to failed login attempts in Mattermost.
</Note>Update the emails of users using the System Console.
<Note>From Mattermost v10.9, email addresses enclosed in angle brackets (e.g., [[email protected]](mailto:[email protected])) will be rejected. To avoid issues, ensure all user emails comply with the plain address format (e.g., [email protected]). In addition, we strongly recommend taking proactive steps to audit and update Mattermost user data to align with this product change, as impacted users may face issues accessing Mattermost or managing their user profile. You can update these user emails manually using mmctl user email.
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.
</Tip>From Mattermost 11.6: Update the username of a user using the System Console.
From Mattermost 11.6: System admins can view and update the authentication data (AuthData) for a user directly in the System Console. AuthData is the external identifier associated with the user's authentication method, such as an LDAP Distinguished Name (DN), SAML NameID, or OAuth ID. Updating this field is useful when a user's external authentication identifier changes, for example after an identity provider migration.
Reset a user's password using the System Console.
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 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.
View user profile details using the System Console. Gather information including the user's ID, username, email, authentication method, and team memberships.
You can find existing teams in your Mattermost instance using the System Console.
From Mattermost v9.6, you can search for specific teams by entering a partial or full team name in the Search field and pressing <kbd>Enter</kbd>.
</Tip>Filter your team search to narrow down results based on the team management type (anyone can join, invite only, or group sync).
View team configuration details using the System Console. Gather information including the team name, team description, team management options, groups, and members.
Admins can directly add or remove member from the team and customize how members are added to the team using the System Console.
When enabled, adding and removing users from groups will add or remove them from this team. The only way of inviting members to this team is by adding the groups they belong to. See the Synchronize teams and channels documentation for further details.
This team can be discovered allowing anyone with an account to join this team.
Users can only join the team if their email matches one of the specified domains.
Admins can choose between inviting members to a team manually or synchronizing members automatically from AD/LDAP groups. See the using AD/LDAP synchronized groups documentation for details on managing team or private channel membership.
Find existing channels in your Mattermost instance using the System Console.
Filter your channel search to narrow down results based on the channel type (as public, private or archived), channel management type (group sync or manual invites) or based on the team the channel belongs to.
View channel configuration details using the System Console. Gather information including the channel profile, advanced access controls, channel management options, groups, and members.
Manage the Management actions available to channel members and guests.
The ability for members and guests to create posts in the channel.
The ability for members and guests to react with emojis on messages in the channel.
The ability for members to add and remove people from the channels. Guests can't add or remove people from channels.
The ability for members and guests to use channel mentions, including @all, @here, and @channel, in the channel.
Guests and Members can't use channel mentions without the ability to Create Posts. To enable this permission, these users must have been granted Create Posts permission first.
</Tip>The ability for members to add, delete, and sort bookmarks. Guests can't add, remove, or sort bookmarks for the channel.
The ability to manage bookmarks for the channel is available for Members only. Guests can't add, remove or sort bookmarks for the channel.
</Tip>Choose between inviting members manually or sychronizing members automatically from groups.
When enabled, adding and removing users from groups will add or remove them from this team. The only way of inviting members to this team is by adding the groups they belong to. See the Synchronize teams and channels documentation for further details.
Public channels are discoverable and any user can join. Private channels require invitations to join.
When Group Sync is enabled, private channels can't be converted to public channels.
</Tip>Choose between inviting members manually or synchronizing members automatically from groups.
Channels can be deleted with all content, including posts in the database, using the mmctl channel delete tool.
</Tip>