Show / Hide Table of Contents

Class BasicAccount

Basic information about any account.

Inheritance
System.Object
Account
BasicAccount
Inherited Members
Account.AccountId
Account.Name
Account.Email
Account.EmailVerified
Account.Disabled
Account.ProfilePhotoUrl
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Users
Assembly: Dropbox.Api.dll
Syntax
public class BasicAccount : Account

Constructors

| Improve this Doc View Source

BasicAccount(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 email

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.

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 true.

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 isTeammate is true.

Properties

| Improve this Doc View Source

IsTeammate

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BasicAccount(String, Name, String, Boolean, Boolean, Boolean, String, String)
  • Properties
    • IsTeammate
    • TeamMemberId
Back to top Generated by DocFX