Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get VaultName from WebServicemanager

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
amitnkukanur
424 Views, 4 Replies

Get VaultName from WebServicemanager

Hello,

 

I am in a project which deals with Vault 2013 and using C# as development language. The project is nearing completion but stuck up in a small issue.

 

I am trying to fetch the Name of Vault to which user has logged in using WebServiceManager. Few functions from RestrictOperation code which is present in SDK.

 

When lifecycle state change is triggered i am trying to get VaultName, is there a way to get this.

 

 

Cheers,

Amit

Senior Software Engineer
4 REPLIES 4
Message 2 of 5
minkd
in reply to: amitnkukanur

 

string GetVaultName( WebServiceManager wsmgr ) { return wsmgr.WebServiceCredentials.VaultName; }

 

-Dave



Dave Mink
Fusion Lifecycle
Autodesk, Inc.
Message 3 of 5
amitnkukanur
in reply to: minkd

Hello MinkD,

 

Thanks for reply, I used  the code given by you.

 

wsmgr.WebServiceCredentials.VaultName

 

In this above piece of code when i type wsmgr and Press .(Dot) i am not able to find WebServiceCredentials.VaultName in Intellisense.

 

 

Rgds

Amit

Senior Software Engineer
Message 4 of 5
minkd
in reply to: amitnkukanur

That must have been added after 2013.  If that is the case I'm not sure how to get it in Vault 2013 - hopfully, someone else can.

 

-Dave



Dave Mink
Fusion Lifecycle
Autodesk, Inc.
Message 5 of 5
amitnkukanur
in reply to: minkd

Hi MinkD,

 

Thanks for reply, i found it after doing a bit of R'n'D.

 

Cheers,

Amit

Senior Software Engineer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report