Forum Discussion
DiKi-I
1 year agoPost Partisan
Row level security help
Can I use username() for row level security instead of userprincipalname(). I have ad user name in the table but not user email. Could you please let me know if this will work. Also my table is in di...
- 1 year ago
yes this approach also works
just to be sure that the name your have in the table is in the right format
Create a measure _Test = Username()
Then add this measure in a card, to see how it is formatted vs what you have in the table (maybe you will have to add the domain in the list)
Idrissshatila
1 year agoSuper User
Hello DiKi-I ,
make sure to test it in the view role before applying it, since this is a sensitive case.
DiKi-I
1 year agoPost Partisan
my username is getting resolved to upn in service. I will test with the actual data once I have gateway setup.