Hi All,
I'm working on moving a V.Rich Client from talking direct to the DB with one login per user to talking direct with a WCF service layer.
In the new model I'm like the users to authenticate with the middle tier and for the middle tier to us just one account to connect to the database.
My problem comes in that the database's triggers and store routines use the USER() function on the database to perform auditing. How can I replace this functionality when only one DB account is being used?
Hopefully I've explained the problem but any questions fire away. In case you're wondering the platform is .Net, WCF and Mysql
Thanks,
Tom.