Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17893

Need to pass the user as a SQL function parameter

$
0
0

I found a couple posts that grazed the subject but none that nailed my need.  It sounds like user based data filtering, which is a *pretty fundamental* requirement, is pretty immature or void in Power BI.  From what I've read, it appears that the USERNAME() function is only effectual when used against a cube, etc.

 

What I want and REALLY NEED... I need to assign the user name to a SQL function parameter which can not be altered by the user.  How can I do that? I can take care of the rest within my SQL table valued functions.

 

Perhaps there are some other or better ways to ensure data filtering.  I need something users can't play with that ensures the data presented to them is appropriate for them.

 

Thanks,

 

 -Ron

 


Viewing all articles
Browse latest Browse all 17893

Trending Articles



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