Impersonation

Posts   
 
    
sanaz
User
Posts: 2
Joined: 14-Dec-2009
# Posted on: 14-Dec-2009 10:13:01   

Hello every one

How we can use impersonation in llblgen?

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 14-Dec-2009 10:48:54   

I don't see a direct link bewteen the two, would you please be more specific in your question.

sanaz
User
Posts: 2
Joined: 14-Dec-2009
# Posted on: 14-Dec-2009 10:59:53   

tnx Walaa

I dont Know alot about llblgen and I dont Know in Which class of this Connection be Open . so where is the best place for writing impersonation code? I will be so glad if you help me.

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 14-Dec-2009 14:52:38   

AFAIK, Impersonation means you want the application will run using a specific user credentials. So your code will excute using the permissions or rights available to this specific user.

This has nothing to do with LLBLGen Pro, which uses a configuration setting for the database connection string. Which in turn can be using Integrated Security (to use the current user credentials to connect to the database) , rather than using a specific Database account.

So in fact LLBLGen Pro has nothing to do with deciding to use Impersonation or not, and it's not afected by this decision. It's merely a security design issue of your application.

(Edit) Also I encourage you to search our forums for: Impersonation