MemberAddResult

public enum MemberAddResult : CustomStringConvertible, JSONRepresentable

Describes the result of attempting to add a single user to the team. ‘success’ is the only value indicating that a user was indeed added to the team - the other values explain the type of failure that occurred, and include the email of the user for which the operation has failed.

  • Team is already full. The organization has no available licenses.

    Declaration

    Swift

    case teamLicenseLimit(String)
  • Team is already full. The free team member limit has been reached.

    Declaration

    Swift

    case freeTeamMemberLimitReached(String)
  • User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team.

    Declaration

    Swift

    case userAlreadyOnTeam(String)
  • User is already on another team. The provided email address is associated with a user that is already a member or invited to another team.

    Declaration

    Swift

    case userOnAnotherTeam(String)
  • User is already paired.

    Declaration

    Swift

    case userAlreadyPaired(String)
  • User migration has failed.

    Declaration

    Swift

    case userMigrationFailed(String)
  • A user with the given external member ID already exists on the team (including in recoverable state).

    Declaration

    Swift

    case duplicateExternalMemberId(String)
  • A user with the given persistent ID already exists on the team (including in recoverable state).

    Declaration

    Swift

    case duplicateMemberPersistentId(String)
  • Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information.

    Declaration

    Swift

    case persistentIdDisabled(String)
  • User creation has failed.

    Declaration

    Swift

    case userCreationFailed(String)
  • Describes a user that was successfully added to the team.

    Declaration

    Swift

    case success(Team.TeamMemberInfo)
  • Declaration

    Swift

    public var description: String { get }