Question: How to check if a person in a control field found on my Nintex form is equal to a specific user?
Overall Goal: Understand how to use userEquals(single login, single login) function in a form rule
- I have a SharePoint list that contains various columns including one called, "thisPerson" of type person or group. FYI our SharePoint is connected to the active directory.
- In my custom Nintex form, the user will enter in a name of person and select the appropriate person from the directory.
I want to check if this person is equal to a specific person "Joe Smith" who is also in the active directory. Joe Smith has a username (userjs) and a SharePoint profile.
I have tried:
userEquals(thisPerson, "Joe Smith")
userEquals(thisPerson, userProfileLookup("domain\userjs", "UserName"))
Any suggestions would help! Thanks!
Solved! Go to Solution.
either of following should work
hint: if you are not sure what the content of a variable/field is (eg. thisPerson), place a calculated value control on the form and set its formula to that variable.