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
| Improve this Doc View SourceAccount(String, Name, String, Boolean, Boolean, 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 |
---|---|---|
System.String | accountId | The user's unique Dropbox ID. |
Name | name | Details of a user's name. |
System.String | The user's email address. Do not rely on this without checking
the |
|
System.Boolean | emailVerified | Whether the user has verified their email address. |
System.Boolean | disabled | Whether the user has been disabled. |
System.String | profilePhotoUrl | URL for the photo representing the user, if one is set. |
Properties
| Improve this Doc View SourceAccountId
The user's unique Dropbox ID.
Declaration
public string AccountId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Disabled
Whether the user has been disabled.
Declaration
public bool Disabled { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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.
Declaration
public string Email { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
EmailVerified
Whether the user has verified their email address.
Declaration
public bool EmailVerified { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
---|---|
System.String |