Class Account
The amount of detail revealed about an account depends on the user being queried and the user making the query.
Inherited Members
Namespace: Dropbox.Api.Users
Assembly: Dropbox.Api.dll
Syntax
public class Account
Constructors
View SourceAccount(string, Name, string, bool, bool, string)
Initializes a new instance of the Account class.
Declaration
public Account(string accountId, Name name, string email, bool emailVerified, bool disabled, string profilePhotoUrl = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | accountId | The user's unique and stable Dropbox ID. |
| Name | name | Details of a user's name. |
| string | The user's email address. Do not rely on this without checking
the |
|
| bool | emailVerified | Whether the user has verified their email address. |
| bool | disabled | Whether the user has been disabled. |
| string | profilePhotoUrl | URL for the photo representing the user, if one is set. |
Properties
View SourceAccountId
The user's unique and stable Dropbox ID.
Declaration
public string AccountId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Disabled
Whether the user has been disabled.
Declaration
public bool Disabled { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
The user's email address. Do not rely on this without checking the EmailVerified field. Even then, 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 AccountId instead.
Declaration
public string Email { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
EmailVerified
Whether the user has verified their email address.
Declaration
public bool EmailVerified { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Details of a user's name.
Declaration
public Name Name { get; protected set; }
Property Value
| Type | Description |
|---|---|
| Name |
ProfilePhotoUrl
URL for the photo representing the user, if one is set.
Declaration
public string ProfilePhotoUrl { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |