Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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["user@tenant.onmicrosoft.com"]
    .Request()
    .GetAsync();
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# bool to int 
Csharp :: c# goto statement 
Csharp :: unity camera fade to black 
Csharp :: c# singleton 
Csharp :: c# string 
Csharp :: add list to list c# 
Csharp :: return stream from file c# 
Csharp :: two linked list intersection 
Csharp :: unity deactive all object in list 
Csharp :: working with registry in c# 
Csharp :: update table in C# 
Csharp :: player input manager join manually 
Csharp :: preprocessors 
Csharp :: label wpf 
Csharp :: asp.net core authorization default policy 
Csharp :: csharp Console.Read(); 
Csharp :: linq map array 
Csharp :: c# find comma in text and remove 
Csharp :: moving camera with touch screen unity 
Csharp :: docker Test a Connection using Curl 
Csharp :: how to serialize a property in unity 
Csharp :: flat view player movement script 
Csharp :: unity line renderer opacity 
Csharp :: Send Hotmail, Outlook, Office365 Email using SMTP C# .NET 
Csharp :: How to install a windows service programmatically in C#? 
Csharp :: use or in shell script 
Csharp :: how to we put a link in button in a view in asp.net 
Csharp :: c# system cryptography hash string 
Csharp :: c# xml check if attribute exists 
Csharp :: c# slice array 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =