CLSA Impersonation different user

CLSA Impersonation different user

Old forum URL:

toshan posted on Tuesday, September 02, 2014

Hi Guys,


I am new to this forum and also CSLA.NET. I was wondering if there is a way in CSLA to impersonate a different user when making SQL calls. I want all my sql statements to be executed under a specific user account. Any help will me much appreciated.





JonnyBee replied on Wednesday, September 03, 2014


1. Specify username/password in connection string

2. Specify that user account as the ApplicationPool user and use integrated security

3.Use impersonation and impersonate in code before you do data access (this may require other changes/configuration to allow impersonation)

Copyright (c) Marimer LLC