Table of contents
TOC
Collapse the table of content
Expand the table of content

ExternalSharingExtensions.ResolvePeoplePickerValueForEmail Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Can be used to get needed people picker search result value for given email account. See MSDN

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string ResolvePeoplePickerValueForEmail(this Web web, String emailAddress)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web for the context used for people picker search

emailAddress

  Type: System.String
  Email address to be used as the query parameter. Should be pointing to unique person which is then searched using people picker capability programatically.

Return Value

Type: string
Resolves people picker value which can be used for sharing objects in the SharePoint site

See also

© 2018 Microsoft