How to do "log out" on MSSCCI?
Accepted answer
Hi Yoshihisa-san,
Yes, there is no log out option in MS-SCCI currently. MS-SCCI Client is supposed to be a set of libraries that implement the APIs mentioned as part of the MS-SCCI specification, which are to be used from the host application's UI.
Therefore, we do not have a Team Artifact Navigator as in other clients through which the user can login / log out. Managing the repositories functionality is limited to creating repository connections via the control panel application bundled with MS-SCCI client.
Not sure what is the limitation u r facing with this: Is it that you cannot switch users? Or just that there is no log out?
If u want to switch users, it is still possible by re-opening the project and when it prompts for authentication (typically, on the first SCM operation), try logging in as a different user. Of course, the authentication dialog is shown only if the user has not saved password.
Yes, there is no log out option in MS-SCCI currently. MS-SCCI Client is supposed to be a set of libraries that implement the APIs mentioned as part of the MS-SCCI specification, which are to be used from the host application's UI.
Therefore, we do not have a Team Artifact Navigator as in other clients through which the user can login / log out. Managing the repositories functionality is limited to creating repository connections via the control panel application bundled with MS-SCCI client.
Not sure what is the limitation u r facing with this: Is it that you cannot switch users? Or just that there is no log out?
If u want to switch users, it is still possible by re-opening the project and when it prompts for authentication (typically, on the first SCM operation), try logging in as a different user. Of course, the authentication dialog is shown only if the user has not saved password.
Comments
In terms of MS-SCCI API, the closest thing there is that simulatesa log-out of the RTC server from the client, would be to have the host IDE call SccCloseProject() and SccUninitialize() (each IDE has different ways this is done...so it's difficult to describe them all here... but generally closing the IDE should also make those calls).