Svn get current user

前端 未结 8 1827
旧时难觅i
旧时难觅i 2021-02-05 01:47

How to get current user that is using svn on particular workstation?

can I use svn.exe executable with some switch to get that info.

Thanks.

8条回答
  •  不要未来只要你来
    2021-02-05 02:22

    There are several ways to find out stored logon credentials:

    • Run svn auth to view credentials and certificates cached in SVN credential store (%APPDATA%\Subversion\auth).
    • Run cmdkey to view the credentials stored in Windows Credential Manager.
    • If your SVN server is integrated with Active Directory and supports Integrated Windows Authentication, your Windows logon credentials are used for authentication, but they are not cached. You can run whoami to find out your user account name .

    BTW, don't miss Michael Hackner's answer:

    There's no such thing as the "current user that is using svn." Every time an SVN command is submitted, credentials are supplied either explicitly at the command prompt or implicitly through saved credentials, which could include multiple users.

提交回复
热议问题