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
FolderID and Client API
Moderator: SourceGear
-
- Posts: 6
- Joined: Sat Jan 08, 2005 3:46 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
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