Skip to main content
In the Workflow.Client api there is an overloaded method of open that takes Open(string,string) with the first being the server name and the second being the credentials.



If I want to pass the credentials what format does this call need to be in?



Connection.Open("myServer", ?)



Thank you.

The following Connection String will work:

Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=BLACKPEARL;Port=5252;SecurityLabelName=K2;UserID=[UserID];Password=[Pwd];WindowsDomain=[Domain]

 

Couple of things to note though:

  1. The password will need to be provided, thus you will need to get the password for the user.
  2. The password will be in clear text. Recommend encrypting the password if you will store it in session state and decrypt it before passing it in.

 


That's what I was looking for. Thank you

Reply