Forum Discussion

DiKi-I's avatar
DiKi-I
Post Partisan
1 year ago
Solved

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...
  • Cookistador's avatar
    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)