Name Class

Information about a user’s name.

Constructors

Name Description
Name(string, string, string, string) Creates a new instance of the Name class.

Properties

Name Type Description
DisplayName System.String User’s display name.
FamiliarName System.String Language-dependent name. Usually a combination of the user’s GivenName and Surname.
GivenName System.String User’s first name.
Surname System.String User’s last/family name.

Methods

Name Description
Name.FromJson(JObject) Creates a new instance of the Name class using a JSON object.
Name.ToString() Returns a string containing all of the class’ properties.