Search found 8 matches

by Cast
Tue Feb 05, 2008 2:30 pm
Forum: Questions (API)
Topic: UndoCheckOut on foreign checkouts
Replies: 3
Views: 7372

Thank you for the answer Jeremy but that solution wouldn't work for us. Placing that broad of privilege on an account with a password available in the API-handler would be too high of an internal risk. It is too bad the permissions are not more granular. I'll hope for it. =) We'll just stick with th...
by Cast
Fri Feb 01, 2008 12:49 pm
Forum: Questions (API)
Topic: UndoCheckOut on foreign checkouts
Replies: 3
Views: 7372

UndoCheckOut on foreign checkouts

Hello sourcegear! .Net API 1. Is there a way for the client api to check out files in another user's name without logging in as that user? And kind of related, though of the biggest importance even if #1 cannot be done... 2. Is there a way for the client api to undo a check out made by another user ...
by Cast
Fri Dec 14, 2007 2:11 pm
Forum: Questions (API)
Topic: ClientInstance.LocalStoreBasePath
Replies: 4
Views: 8509

Ah! Since I had done away with using the simplified Login method, ServerOperations.client.LoginOptions.User was no longer being used... so it was being passed in as an empty string for the SetActiveRepositoryID call, in your code above. After I set this property explicitly, it works fine. Thank you ...
by Cast
Fri Dec 14, 2007 8:06 am
Forum: Questions (API)
Topic: ClientInstance.LocalStoreBasePath
Replies: 4
Views: 8509

I set this and all worked great. Thank you! This is a really cool product. Unfortunately my newbie colors are going to fly at this moment... this client cache folder was removed accidentally instead of the working folder at the end of an activity. After doing this, it seems the server/client assumes...
by Cast
Thu Dec 13, 2007 11:16 am
Forum: Questions (API)
Topic: ClientInstance.LocalStoreBasePath
Replies: 4
Views: 8509

ClientInstance.LocalStoreBasePath

The C# API uses a local folder for managing client info at the call of ServerOperations.Login(). (ex. C:\Documents and Settings\Default User\Local Settings\Application Data\Sourcegear\...) I have found that the value of this local folder is kept in ServerOperations.client.ClientInstance.LocalStoreBa...
by Cast
Wed Dec 12, 2007 8:41 am
Forum: Questions (API)
Topic: Comments
Replies: 4
Views: 8795

Ah, I was going off of your original response... which must have been replaced with what is now there about the comment. Thank you for the follow up. ServerOperations.client.Comment = "Restored from previously deployed version " + svVersion + "."; ServerOperations.ProcessCommandC...
by Cast
Mon Dec 10, 2007 10:38 am
Forum: Questions (API)
Topic: Comments
Replies: 4
Views: 8795

Thank you for the help Jeff, It works as expected, now. I replaced ServerOperations.ProcessCommandCheckIn(new string[] { svFilepath }, UnchangedHandler.Checkin, false, LocalCopyType.Leave); with ServerOperations.ProcessCommandListChangeSet(new string[] { svFilepath }); ServerOperations.client.Client...
by Cast
Mon Dec 10, 2007 8:41 am
Forum: Questions (API)
Topic: Comments
Replies: 4
Views: 8795

Comments

In the Vault 4.0.5 C# API, I am trying to insert a comment while checking in a file.

From what I can tell, there is no option to do so in ServerOperations.ProcessCommandCheckIn()

Is there a way to fulfill what I'm trying? Perhaps there is a workaround? Or is this currently unsupported?

Thank you.