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!