A username is the name used to log into Confluence, eg. jsmith.
Currently, there is no straightforward method for changing a username and its associated content, to that of another user. The only practicable method currently available is to execute direct SQL queries on your database. There is a feature request to facilitate this process via a web interface and you can vote for it to improve its chances of being implemented. Be aware, however, that no matter what method you use to change usernames in Confluence, there is no support provided for this process. The instructions below provide suggested guidelines on how to change a username via SQL queries, although this may vary depending on your database. |
Instructions For Changing Usernames
The following SQL commands are only tested for MYSQL and POSTGRES Databases. If you have any other database please contact your DBA to determine the equivalent queries. |
Usernames can only be changed through direct update to the Confluence database.
- If you have a database administrator, request that they approve the database-related steps described below
- If you are using JIRA user management, Revert from JIRA To Internal User Management
- Backup Confluence
- Creating a
usermigrationtable: - Usernames that will be changed must be placed in the
usermigrationtable with their current and planned usernames: - If your DB administration tool does not support multiple SQL queries, these must be entered individually.
- If using Confluence 2.1 or newer, run the following command:
- Reassign personal spaces and content associated with the old username to the new username. The tilda (~) is required as it is prepended to the space key of all personal spaces.
- Each username is associated with a full name. For example, username 'jsmith' may have a full name of 'John M Smith'. If this fullname needs to be changed, modify the fullname in the
usersoros_usertable.
All old usernames in Confluence should now be replaced with the new usernames from the usermigration table.
RELATED TOPICS
|
Page: Enabling or Disabling Public Signup
|
|
Page: Security Overview
|
|
Page: Searching For and Managing Users
|
|
Page: Global Groups Overview
|
|
Page: Adding or Removing Users in Groups
|
|
Page: Adding a Group
|
|
Page: Viewing members of a group
|
|
Page: Editing User Details
|
|
Page: Global Permissions Overview
|
|
Page: Removing a Group
|
|
Page: Removing a User
|
|
Page: Setting up Anonymous Access
|
|
Page: Adding a New User
|
|
Page: Changing Usernames
|
|
Page: Troubleshooting LDAP User Management
|








