SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In SP Designer, when using the "Set Field in Current Item" action, if the field you are setting is a Person type, there are several choices to "return" the data as. For example, if setting your Person field to the current item's Modified By or Created By, these are also Person fields but can be returned as one of the following:

  • As String
  • Display Name
  • Email Address
  • Login Name
  • User ID Number

Is there any gotcha in choosing one of these to set a Person field as? Is there any choice that won't set the person correctly and resolve it to a SharePoint person type?

share|improve this question
up vote 1 down vote accepted

I always use the User ID Number since that will always be unique for the user. Depending on the set up and management of users the Display Name, Email Address and String may not be unique.

share|improve this answer
Thanks. Does this mean that the ID number will indeed resolve to a person type in the Person field? Do you have any supporting documentation on this and if that is the best practice? – Alex Apr 2 '13 at 22:16
Yes, it will. I would recommend trying it since documentation only has value if it works :) – Ryan Erickson Apr 2 '13 at 22:22
Sure, I will try it out. It's just a little hard to test this because you would need to prove every use case is true, i.e. for every user. – Alex Apr 2 '13 at 22:29
I couldn't find much for documentation but this blog shows how you can view the list:… and the User ID is the ID of that list – Ryan Erickson Apr 2 '13 at 22:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.