Answers for "get ad user using email address microsoft graph C#"

C#
0

get ad user using email address microsoft graph C#

// Retrieve a user by id
var user  = await graphClient
    .Users["00000000-0000-0000-0000-000000000000"]
    .Request()
    .GetAsync();

// Retrieve a user by userPrincipalName
var user  = await graphClient
    .Users["[email protected]"]
    .Request()
    .GetAsync();
Posted by: Guest on August-03-2020

C# Answers by Framework

Browse Popular Code Answers by Language