Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

suser_name override

$
0
0

Hi.  We run 2012 enterprise.  I think this is the best forum in which to post this question in spite of c# and rs involvement.

We use data driven security based on suser_name to determine which plant data etc a user can look at.  suser_name is compared to a table (thru a core security view) we have where each user's allowable plants etc r stored and our biz views use that infrastructure to include/exclude data from their result sets.

We've built a c# app which uses the report viewer class to render our reports and dashboards. 

We dont have kerberos working yet.

The question is basically this:  is there a way to override suser_name in a session using t-sql feature(s)?  We believe we can get the c# app to do this for us but we'd need to understand what t-sql feature we can take advantage of to accomplish this.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>