简体   繁体   中英

Export the VisualSVN Server User Access Rights Using WMI in C#

I need to console application to load the VisualSVN Server User Access Rights to the excel file.

Initially, I started with VBScript to do this. But in VBScript it is very hard to compare two csv files. So currently I'm looking into C#.

Is any sample to code to do this in C# like VBScript in " http://www.svnforum.org/threads/38790-Access-Rights-Reporting-in-Subversion-or-Viusal-SVN "?

If it is quit easy in PowerShell, We will consider PowerShell too. But I don't have experience with PowerShell. Can anyone please redirect me to the Sample code to do the same.

VisualSVN Server 3.4 comes with a PowerShell module which provides a number of cmdlets for server and repository administration (works locally or remotely).

Getting a list of access rules with VisualSVN Server 3.4 is as simple as running Get-SvnAccessRule cmdlet in PowerShell.

For the complete list of PowerShell cmdlets and usage examples, read the article VisualSVN Server PowerShell Cmdlet Reference .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM