Share via


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

public ref class MicrosoftAccountHelper abstract sealed
public static class MicrosoftAccountHelper
type MicrosoftAccountHelper = class
Public 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