GraphExtensions.FindUserAsync(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 user query.
public static System.Threading.Tasks.Task<Microsoft.Graph.IGraphServiceUsersCollectionPage> FindUserAsync(this Microsoft.Graph.GraphServiceClient graph, string query);
static member FindUserAsync : Microsoft.Graph.GraphServiceClient * string -> System.Threading.Tasks.Task<Microsoft.Graph.IGraphServiceUsersCollectionPage>
<Extension()>
Public Function FindUserAsync (graph As GraphServiceClient, query As String) As Task(Of IGraphServiceUsersCollectionPage)
Parameters
- graph
- Microsoft.Graph.GraphServiceClient
Instance of the Microsoft.Graph.GraphServiceClient.
- query
- String
User to search for.
Returns
Microsoft.Graph.IGraphServiceUsersCollectionPage collection of Microsoft.Graph.User.