How to Find out who created a Project

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

Moderator: SourceGear

Post Reply
c5thunder
Posts: 4
Joined: Fri Oct 27, 2006 12:02 am

How to Find out who created a Project

Post by c5thunder » Wed Oct 29, 2008 3:27 pm

Im trying to figure out which of our Admins created a project in Fortress and what date it was created. Where can i pull this info out of?

thanks.

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Re: How to Find out who created a Project

Post by mskrobul » Wed Oct 29, 2008 3:57 pm

This information isn't displayed anywhere, but the project creator's user id and the creation time are both stored in the projects table in the sgdragnet database.

I am not one of the SQL experts, but I think this query *should* work to get the basic information you need.

Code: Select all

use sgdragnet
go
select p.name AS projectname, p.created, p.creatoruid, u.login from dbo.projects p 
INNER JOIN  [sgmaster].dbo.users u 
ON p.creatoruid = u.userid
If you want to see specific projects instead of all projects, here's one example:

Code: Select all

use sgdragnet
go
select p.name AS projectname, p.created, p.creatoruid, u.login from dbo.projects p 
INNER JOIN  [sgmaster].dbo.users u 
ON p.creatoruid = u.userid
WHERE p.name IN (comma separated list of single-quoted project names)
Mary Jo Skrobul
SourceGear

c5thunder
Posts: 4
Joined: Fri Oct 27, 2006 12:02 am

Re: How to Find out who created a Project

Post by c5thunder » Wed Oct 29, 2008 10:54 pm

Great! That's exactly what I needed. Thanks for your help.

Post Reply