jvolk85
Design Dabbler

Set field to Read only if not a certain user

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")

0 Kudos
Reply
1 Reply
v-tmasenko
Design Canvas Artiste

Re: Set field to Read only if not a certain user

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.
0 Kudos
Reply