GraphExtensions.FindPersonAsync(GraphServiceClient, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shortcut to perform a person query.
public static System.Threading.Tasks.Task<Microsoft.Graph.IUserPeopleCollectionPage> FindPersonAsync(this Microsoft.Graph.GraphServiceClient graph, string query);
static member FindPersonAsync : Microsoft.Graph.GraphServiceClient * string -> System.Threading.Tasks.Task<Microsoft.Graph.IUserPeopleCollectionPage>
<Extension()>
Public Function FindPersonAsync (graph As GraphServiceClient, query As String) As Task(Of IUserPeopleCollectionPage)
Parameters
- graph
- Microsoft.Graph.GraphServiceClient
Instance of the Microsoft.Graph.GraphServiceClient.
- query
- String
User to search for.
Returns
Microsoft.Graph.IUserPeopleCollectionPage collection of Microsoft.Graph.Person.