Skip to main content
Nintex Community Menu Bar

Workflow.Client How to pass Domain Username

  • May 11, 2009
  • 2 replies
  • 9 views

Forum|alt.badge.img+8
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.

2 replies

Forum|alt.badge.img+8
  • May 12, 2009

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.

 


Forum|alt.badge.img+8
  • Author
  • June 2, 2009
That's what I was looking for. Thank you