# Active Directory sync, Windows Login option: how to login as a different user?

**URL:** <https://community.sonarsource.com/t/active-directory-sync-windows-login-option-how-to-login-as-a-different-user/91130>\
**Category:** SonarQube Server / Community Build\
**Tags:** authentication, active\_directory\
**Created:** [May 18, 2023, 3:40pm UTC](https://community.sonarsource.com/t/active-directory-sync-windows-login-option-how-to-login-as-a-different-user/91130 "2023-05-18T15:40:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhanna](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jhanna](https://community.sonarsource.com/u/jhanna)\
**Post date:** [May 18, 2023, 3:40pm UTC](https://community.sonarsource.com/t/active-directory-sync-windows-login-option-how-to-login-as-a-different-user/91130/1 "2023-05-18T15:40:09Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): Enterprise Edition Version 9.9 (build 65466)
- how is SonarQube deployed: zip

When signing into SonarQube, I select “Windows Login” and it automatically signs me in using the currently logged in user in Windows. I want to sign into a different AD user but it doesn’t give me an option under “Windows Login” and the other login option seems to only be local accounts. Is there a way to login as another user without signing into that user in Windows before accessing SonarQube?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [May 19, 2023, 7:15am UTC](https://community.sonarsource.com/t/active-directory-sync-windows-login-option-how-to-login-as-a-different-user/91130/2 "2023-05-19T07:15:35Z")

</div>

Hey there.

If your SSO is set-up in a way that you can’t impersonate a user before the login process… you’ll have to sign into that user in Windows.

What is your use-case for signing in as a different, windows-authenticated user?
