Users Last Login

If you are having a problem using Vault, post a message here.

Moderator: SourceGear


Posts: 6
Joined: Mon Dec 20, 2010 5:01 pm
PostPosted: Mon Dec 20, 2010 5:03 pm
Is it possible to tell the last time a user Logged in to Vault?

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Tue Dec 21, 2010 8:50 am
All logins are recorded in the Vault server log. By default that is found at %windir%\temp\sgvault\sgvault.log.
Beth Kieler
SourceGear Technical Support

Posts: 34
Joined: Thu Dec 09, 2010 6:11 am
PostPosted: Fri Dec 29, 2017 8:52 am
I would like to suggest the option of logging the timestamp of last login for a user in to a SG Vault database. Eg. [sgmaster].[dbo].[users] table. For auditing it would be very nice in an easy way to document last login to to Vault Service for users.
The sgvault.log is a termporary file and not suited for auditing purposes.

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Fri Dec 29, 2017 8:56 am
We now can notify on logins. Would receiving an email with a list of all the logins that day work for you?
Beth Kieler
SourceGear Technical Support

Posts: 3544
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
PostPosted: Tue Jan 02, 2018 8:23 am
One other thing to note, if you're curious about actual activity (commits, labels, etc.), there's an 'activity' report from the web client that shows you the last time someone actually did anything for a repository.
Jeff Clausius
SourceGear

Posts: 34
Joined: Thu Dec 09, 2010 6:11 am
PostPosted: Wed Jan 03, 2018 4:37 am
Hi Beth
An email a day with the logins of the days is OK.

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Jan 03, 2018 8:44 am
In the Vault admin web page under Server Settings, click on Email settings. There you will set up the SMTP server for Vault to use.

After the admin side is set up, you can login to a Vault client and go to Tools - Options - Notifications. Select email notifications and the option to receive it as a digest. Then expand Notifications and click on the Source Control link to select what to receive. To receive only a list of logins, click the Events tab and then only click the Login/Logout action. Click Ok.
Beth Kieler
SourceGear Technical Support

Return to Support (Vault)

Who is online

Users browsing this forum: No registered users and 12 guests

cron