297 questions
Programmatically remove github account from account settings in Visual Studio 2022 within an VS extension

iu_110978
0
Reputation points
In Visual Studio 2022, I can add a GitHub account, via File --> Account Settings
I have a Visual Studio extension where I would like to be able to check if any GitHub account was defined and if so remove that account. Basically to do the same action that is done when user clicks the 'remove` next to the account name.
Any help is appreciated
Thanks
Developer technologies | Visual Studio | Extensions
Sign in to answer