Vault Client Lib to add groups

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
samward
Posts: 12
Joined: Thu May 24, 2007 1:17 am

Vault Client Lib to add groups

Post by samward » Tue Sep 29, 2009 1:10 am

Hi,

I am trying to write an app the simplify performing the following operations:
- Add a repository
- Add a global group
- Add users to group
- Add group to repository access

As far as I can tell, manipulating groups does not appear to be supported using the client API. Is there some way of achiving what I want to using the existing client libraries (VaultClientNetLib seems to have methods for groups, but i'm not sure if we are supposed to be using it).

We are using Vault 4.1.4.


Cheers
Sam

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Re: Vault Client Lib to add groups

Post by jeremy_sg » Tue Sep 29, 2009 8:51 am

You would need to call the VaultClientNetLib methods. Please make sure that you call the login method that takes three parameters. Pass VaultConnection.AccessLevelType.Admin for the first parameter.
Subscribe to the Fortress/Vault blog

samward
Posts: 12
Joined: Thu May 24, 2007 1:17 am

Re: Vault Client Lib to add groups

Post by samward » Tue Sep 29, 2009 6:47 pm

jeremy_sg wrote:You would need to call the VaultClientNetLib methods. Please make sure that you call the login method that takes three parameters. Pass VaultConnection.AccessLevelType.Admin for the first parameter.
Thats what I thought, but I just wanted to check.


Cheers
Sam

Post Reply