Quick Tool / SQL to see all checkouts

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

Moderator: SourceGear

Post Reply
IainMartin
Posts: 11
Joined: Tue Apr 29, 2008 2:45 am

Quick Tool / SQL to see all checkouts

Post by IainMartin » Mon Apr 06, 2009 7:08 pm

Is there a tool, or an sql command which i can run and input a username and see all of the files they have checked out in all repositories, I ask this as we often have employees leave, without us being notified, when i do eventually find this out, the machine they used has been recycled, and I need to check every repository (20 or so) to see what they have checked out and undo it.

A simple query i can build a asp front end on it, and get managers to check and ensure these files are checked in prior to the employee leaving

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Quick Tool / SQL to see all checkouts

Post by lbauer » Tue Apr 07, 2009 10:08 am

We don't have a query readily available, but you can use the ClientAPI's ProcessCommandListCheckOuts command to list the checkouts in
a single repository.

You can download the Client API here:

http://sourcegear.com/vault/downloads.html
Linda Bauer
SourceGear
Technical Support Manager

Post Reply