Created
January 26, 2018 15:46
-
-
Save star-crossed/e7df63b47004799ca0e995a647b1a6e1 to your computer and use it in GitHub Desktop.
String for the people picker used for the ShareObject method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var peoplePickerValue = "[{\"Key\":\"" + user.Email + "\",\"Description\":\"" + user.Email + "\",\"DisplayText\":\"" + user.Email + "\",\"EntityType\":\"\",\"ProviderDisplayName\":\"\",\"ProviderName\":\"\",\"IsResolved\":true,\"EntityData\":{\"SPUserID\":\"" + user.Email + "\",\"Email\":\"" + user.Email + "\",\"IsBlocked\":\"False\",\"PrincipalType\":\"UNVALIDATED_EMAIL_ADDRESS\",\"AccountName\":\"" + user.Email + "\",\"SIPAddress\":\"" + user.Email + "\"},\"MultipleMatches\":[],\"AutoFillKey\":\"" + user.Email + "\",\"AutoFillDisplayText\":\"" + user.Email + "\",\"AutoFillSubDisplayText\":\"\",\"AutoFillTitleText\":\"" + user.Email + "\n" + user.Email + "\",\"DomainText\":\"$domain\",\"Resolved\":true}]"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment