Прочитај на енглеском

Делите путем


MicrosoftAccountHelper Class

Definition

Contains static methods that allow to extract user's information from a Newtonsoft.Json.Linq.JObject instance retrieved from Microsoft after a successful authentication process. http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/user

C#
public static class MicrosoftAccountHelper
Inheritance
MicrosoftAccountHelper

Methods

GetDisplayName(JObject)

Gets the user's name.

GetEmail(JObject)

Gets the user's email address.

GetGivenName(JObject)

Gets the user's given name.

GetId(JObject)

Gets the Microsoft Account user ID.

GetSurname(JObject)

Gets the user's surname.

Applies to

Производ Верзије
ASP.NET Core 1.0, 1.1