Set field to Read only if not a certain user

  • 13 January 2021
  • 1 reply
  • 46 views

Badge +4

I have a few fields in my form that I want to only be filled out by a certain user. Is there a way to set the Read-only field to be Yes unless the current user is the correct one? I was trying this but couldn't get it to work: ifElse([Context].[Current user display name] == "username", "No", "Yes")


1 reply

Userlevel 3
Badge +9
Try using [Current user login name]
For debugging try setting the value of a label to be any functions with a string result; Then you can see/confirm your assumptions.

Reply