Account

public class Account : CustomStringConvertible, JSONRepresentable

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

    Swift

    public let email: String
  • Whether the user has verified their email 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

    public var description: String { get }