I'm currently building a test workflow project using K2 4.5 for Visual Studio 2010. I'm running into a problem, in which there exists two users with the same username -- 'jsmith' -- one user in AD (Active Directory), another in the K2Users table in K2SQLUM. When I attempt to set the destination user to jsmith in K2Users table, the notification is sent to the jsmith user in AD. I've set the connection string as follows:
"Integrated=False;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=localhost;Port=5252;SecurityLabelName=K2SQL;UserID=susername];Password=spassword];"
And I've verified that the destination user is the correct user (K2SQL:jsmith, and not dDOMAIN NAME]jsmith). If I set the destination user to any other user in the K2Users table -- a user whose username does not exist in AD -- the notification works correctly, meaning that it gets sent to that person. The problem seems to be when there is a user whose username exists in both AD and the K2Users table. In this case --even when I specify K2SQL for the security label -- K2 is sending the notification to the user in AD, not to the user in K2SQL. Is there anything else I need to do, in addition to specifiying the security label?
Regards,
Craig