Start Free
Latest | Instance administration | User management | Associating with SCM account

Associating a user with an SCM account

On this page

As a System Administrator, you can explicitly associate an SCM (Source Control Management) account with a SonarQube user account. 

About the SCM account association

SonarQube uses the association of users with SCM (Source Control Management) accounts to automatically assign issues to users:

  • If SonarQube delegates the authentication to a third-party identity provider, this association is done through the delegation. However, you can associate the user with additional SCM accounts.
  • If no delegation is used, SonarQube recognizes the SCM account from the SonarQube account's Login and/or Email address. If it cannot perform the association (or if you want to associate other SCM accounts with the user account), you can do it explicitly.

To add an SCM account to a SonarQube user account, you associate the SCM account's login name or email address with the SonarQube account.

Adding an SCM account to a SonarQube user account

  1. Got to Administration > Security > Users and retrieve the user.
  2. In the user's Actions column, select the three-dot menu.
  3. Select Update (SCM) details.
  4. Near SCM Accounts, select Add. A box is displayed.
  5. In the box, enter the SCM account's login or email address.
  6. To add another account, re-select Add, etc.
  7. Select Update.  The added SCM accounts are displayed in the SCM Accounts column as illustrated below.

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License