FolderID and Client API

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

Moderator: SourceGear

Post Reply
Anders Molin
Posts: 6
Joined: Sat Jan 08, 2005 3:46 pm

FolderID and Client API

Post by Anders Molin » Wed Jan 12, 2005 7:22 pm

Vault 3.0.1

I'm using the client API to make it possible to assign userrights from my code, and everything is working out except for one thing.
I need to find the FolderID for a folder, so I can set it in a VaultFolderRightsItem.

If I find that ID manually and hardcode it, everything works, but I have not been able to find it from a repository name and path.

I can easily find all folders and such, but the VaultClientFolder class don't have the FolderID.

Any way to find this?

- Anders

Anders Molin
Posts: 6
Joined: Sat Jan 08, 2005 3:46 pm

Post by Anders Molin » Wed Jan 12, 2005 8:18 pm

I figured it out...

VaultClientFolder.ID is the same as FolderID in other places, but the interesting thing is that neither Object Browser, nor the debugger showed there was an ID property, but intellisense did, thats why I found it...
Strange...

Anyway, I'm having a lot of fun with this API, it's not boring to work with :)

- Anders

Post Reply