Hi all
I need to login in k2 with the credentials user provided while login in my application. I have the AD credentials with me. I have already added k2 workspace in my local intranet so it does not ask for user name and password but instead it always log in as default logged user in iis.
i tried this..
Dim strK2ServerName As String = "k2megasrv"
Dim intPort As Integer = "5252"
Dim ConStr As String
ConStr = "Authentication=Windows;Domain=k2mega;User=UserA;Password=k2pass"
oK2Manager.Login(strK2ServerName, intPort, ConStr)
Where UserA is a active directory user which i picked up from db while user logged in. My login screen alows to user to enter user id which is other then their AD name . So once they login i pick up their AD NAME and need to log in k2 workspace.
Any suggestions ?
Page 1 / 1
I mean how do i tell k2 which user is logged on , or how i log on to k2 workspace with ad username and password through code
Same question asked previously here
http://forum.k2workflow.com/viewtopic.php?t=272&highlight=pass+login+pagw
Suggestions anyone ?????
Thanks in Advance
http://forum.k2workflow.com/viewtopic.php?t=272&highlight=pass+login+pagw
Suggestions anyone ?????
Thanks in Advance
Have a look at the following sample:
Use a similar URL with the correct user information specified as the redirect URL.
Please Note: Exposing Domain Account details in clear text in redirect URL is not good practice and can introduce a serious security risk for your organization.
"
Use a similar URL with the correct user information specified as the redirect URL.
Please Note: Exposing Domain Account details in clear text in redirect URL is not good practice and can introduce a serious security risk for your organization.
Hi R
Url becomes something like this
http://www.k2mega.local/k2v3/workspace/Workspace.aspx?ServerName=k2megasrv&Connstr=;];Authentication=Windows;Domain=k2mega;User=karenb;Password=k2pass
i get an error message "The request failed with HTTP status 401: Unauthorized"
Thanks in Advance
Url becomes something like this
http://www.k2mega.local/k2v3/workspace/Workspace.aspx?ServerName=k2megasrv&Connstr=;];Authentication=Windows;Domain=k2mega;User=karenb;Password=k2pass
i get an error message "The request failed with HTTP status 401: Unauthorized"
Thanks in Advance
Thanks man ..
It's working ..thanks a lot !!
Regards
It's working ..thanks a lot !!
Regards
Hey Again
K2 is showing strange behaviour. when i copy paste this in address bar for first time ....it throws error unauthorized access but if i try again in same browser window it runs ..???
http://www.k2mega.local/k2v3/workspace/Workspace.aspx?ServerName=k2megasrv&Connstr=[;];Authentication=Windows;Domain=K2mega;User=JackYu;Password=k2pass
Any suggestions
Thanks in advance
K2 is showing strange behaviour. when i copy paste this in address bar for first time ....it throws error unauthorized access but if i try again in same browser window it runs ..???
http://www.k2mega.local/k2v3/workspace/Workspace.aspx?ServerName=k2megasrv&Connstr=[;];Authentication=Windows;Domain=K2mega;User=JackYu;Password=k2pass
Any suggestions
Thanks in advance
;Authentication=Windows;Domain=K2mega;User=JackYu;Password=k2pass
This sounds like a classical case of Windows Server 2003 SP1, have a look at the following KB Article: http://kb.k2workflow.com/Articles/KB000098.aspx locate the Step-by-Step Problem Resolution - NTLM and follow the 7 steps.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.