Dropbox .NET SDK
Show / Hide Table of Contents

Class UserInfoResult

The user info result object

Inheritance
object
UserInfoResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Openid
Assembly: Dropbox.Api.dll
Syntax
public class UserInfoResult

Constructors

View Source

UserInfoResult(string, string, string, bool?, string, string)

Initializes a new instance of the UserInfoResult class.

Declaration
public UserInfoResult(string familyName = null, string givenName = null, string email = null, bool? emailVerified = null, string iss = "", string sub = "")
Parameters
Type Name Description
string familyName

Last name of the user.

string givenName

First name of the user.

string email

The user's email address. Be aware it's possible that the user has since lost access to their email. Note: email is not a unique or stable identifier for a Dropbox account. Users can change their email, and emails can be reused by different accounts. Apps should not use email as a key for account identification; use sub instead.

bool? emailVerified

If the user's email address is verified.

string iss

Issuer of the token (in this case Dropbox).

string sub

An identifier for the user. This is the Dropbox account_id, a string value such as dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc. The account_id is a unique and stable identifier for a Dropbox account, suitable for use as a key in authentication and account management.

Properties

View Source

Email

The user's email address. Be aware it's possible that the user has since lost access to their email. Note: email is not a unique or stable identifier for a Dropbox account. Users can change their email, and emails can be reused by different accounts. Apps should not use email as a key for account identification; use Sub instead.

Declaration
public string Email { get; protected set; }
Property Value
Type Description
string
View Source

EmailVerified

If the user's email address is verified.

Declaration
public bool? EmailVerified { get; protected set; }
Property Value
Type Description
bool?
View Source

FamilyName

Last name of the user.

Declaration
public string FamilyName { get; protected set; }
Property Value
Type Description
string
View Source

GivenName

First name of the user.

Declaration
public string GivenName { get; protected set; }
Property Value
Type Description
string
View Source

Iss

Issuer of the token (in this case Dropbox).

Declaration
public string Iss { get; protected set; }
Property Value
Type Description
string
View Source

Sub

An identifier for the user. This is the Dropbox account_id, a string value such as dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc. The account_id is a unique and stable identifier for a Dropbox account, suitable for use as a key in authentication and account management.

Declaration
public string Sub { get; protected set; }
Property Value
Type Description
string
  • View Source
In this article
Back to top Dropbox .NET SDK