FullAccount

open class FullAccount : Users.Account

Detailed information about the current user’s account.

  • The user’s two-letter country code, if available. Country codes are based on ISO 3166-1 http://en.wikipedia.org/wiki/ISO_3166-1.

    Declaration

    Swift

    public let country: String?
  • The language that the user specified. Locale tags will be IETF language tags http://en.wikipedia.org/wiki/IETF_language_tag.

    Declaration

    Swift

    public let locale: String
  • The user’s referral link https://www.dropbox.com/referrals.

    Declaration

    Swift

    public let referralLink: String
  • If this account is a member of a team, information about that team.

    Declaration

    Swift

    public let team: Users.FullTeam?
  • This account’s unique team member id. This field will only be present if team is present.

    Declaration

    Swift

    public let teamMemberId: String?
  • Whether the user has a personal and work account. If the current account is personal, then team will always be null, but isPaired will indicate if a work account is linked.

    Declaration

    Swift

    public let isPaired: Bool
  • What type of account this user has.

    Declaration

    Swift

    public let accountType: UsersCommon.AccountType
  • The root info for this account.

    Declaration

    Swift

    public let rootInfo: Common.RootInfo