SourceSafe User Admin reporting?  
Author Message
Simon Durrant





PostPosted: Visual Studio Source Control and SourceSafe, SourceSafe User Admin reporting? Top

Hi, is there any way of reporting current user access across a source tree Currently I'm expecting to have to spend most of a day clicking around the Admin Tool to manually gather this data. As you can imagine, I'm not looking forward to this very much!

I've had a look at the docs for the command line interface but I can't see anything there to address user administration.



Visual Studio5  
 
 
Brad Peterson





PostPosted: Visual Studio Source Control and SourceSafe, SourceSafe User Admin reporting? Top

Simon,

Are you looking to find out what rights or access permissions a user has for different areas of the SourceSafe database, or are you trying to track actual 'access' or churn/update of source code files

If you want to see the current user rights settings for a user, you can do this in the Admin tool by selecting the user you want info on and then accessing the Tools->Rights Assignment for User.

If this menu is grayed out, then you have not turned on Project Rights (in Tools->Options) and all the users except for the Admin user have the same default rights.

Thanks,

-Brad


 
 
Simon Durrant





PostPosted: Visual Studio Source Control and SourceSafe, SourceSafe User Admin reporting? Top

Hi Brad,

I'm trying to found out what rights or access permissions have been granted to all my users across a pretty large source tree. I know how to find this out for one user at a time or one project at a time using the Admin Tool. But do to this for each user or each project in turn is going to take a long time. I don't see anything in the Admin Tool or the command line reference to report all user permissions across all subprojects for a given project. That's what I'm looking for.

Cheers,

Simon.


 
 
Roman Golovin MSFT





PostPosted: Visual Studio Source Control and SourceSafe, SourceSafe User Admin reporting? Top

You may need to write an application using IVSS

Check with these articles:

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.sourcesafe.interop.ivssuser.projectrights.aspx

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.sourcesafe.interop.vssrights.aspx

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.sourcesafe.interop.ivssuser_members.aspx


 
 
Simon Durrant





PostPosted: Visual Studio Source Control and SourceSafe, SourceSafe User Admin reporting? Top

Thanks Roman.  I've managed to put together some JScript that does the job, though it looks like it may be some time until I get my results - it doesn't appear to be possible to go from the User to the set of granted rights, so it is necessary to query the rights for each project for each user.  It's been running a while and it's still on usernames beginning with "A".

Cheers,

Simon.