Account

open class Account : CustomStringConvertible

The amount of detail revealed about an account depends on the user being queried and the user making the query.

  • The user’s unique Dropbox ID.

    Declaration

    Swift

    public let accountId: String
  • Details of a user’s name.

    Declaration

    Swift

    public let name: Users.Name
  • The user’s e-mail 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 e-mail.

    Declaration

    Swift

    public let email: String
  • Whether the user has verified their e-mail address.

    Declaration

    Swift

    public let emailVerified: Bool
  • URL for the photo representing the user, if one is set.

    Declaration

    Swift

    public let profilePhotoUrl: String?
  • Whether the user has been disabled.

    Declaration

    Swift

    public let disabled: Bool
  • Declaration

    Swift

    open var description: String { get }