Class BasicAccount
Basic information about any account.
Inherited Members
Namespace: Dropbox.Api.Users
Assembly: Dropbox.Api.dll
Syntax
public class BasicAccount : Account
Constructors
| Improve this Doc View SourceBasicAccount(String, Name, String, Boolean, Boolean, Boolean, String, String)
Initializes a new instance of the BasicAccount class.
Declaration
public BasicAccount(string accountId, Name name, string email, bool emailVerified, bool disabled, bool isTeammate, string profilePhotoUrl = null, string teamMemberId = 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.Boolean | isTeammate | Whether this user is a teammate of the current user. If
this account is the current user's account, then this will be |
System.String | profilePhotoUrl | URL for the photo representing the user, if one is set. |
System.String | teamMemberId | The user's unique team member id. This field will only
be present if the user is part of a team and |
Properties
| Improve this Doc View SourceIsTeammate
Whether this user is a teammate of the current user. If this account is the
current user's account, then this will be true
.
Declaration
public bool IsTeammate { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TeamMemberId
The user's unique team member id. This field will only be present if the user
is part of a team and IsTeammate is true
.
Declaration
public string TeamMemberId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |