cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

How to check if a person in a control field found on my Nintex form is equal to a specific user?

Jump to solution

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

 

Example:

- 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, userjs)

userEquals(thisPerson, "userjs")

userEquals(thisPerson, userProfileLookup("domain\userjs", "UserName"))

 

Any suggestions would help! Thanks!

Labels: (1)
Tags (1)
0 Kudos
Reply
2 Replies
Highlighted
Automation Master
Automation Master

Re: How to check if a person in a control field found on my Nintex form is equal to a specific user?

Jump to solution

either of following should work

userEquals(thisPerson, "domain\\userjs")

userEquals(thisPerson, "claim|domain\\userjs")

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.

View solution in original post

Reply
Highlighted
Not applicable

Re: How to check if a person in a control field found on my Nintex form is equal to a specific user?

Jump to solution

Thanks so much Marian!!

0 Kudos
Reply