GroupMembersAddError
public enum GroupMembersAddError : CustomStringConvertible, JSONRepresentable
The GroupMembersAddError union
-
No matching group found. No groups match the specified group ID.
Declaration
Swift
case groupNotFound
-
An unspecified error.
Declaration
Swift
case other
-
This operation is not supported on system-managed groups.
Declaration
Swift
case systemManagedGroupDisallowed
-
You cannot add duplicate users. One or more of the members you are trying to add is already a member of the group.
Declaration
Swift
case duplicateUser
-
Group is not in this team. You cannot add members to a group that is outside of your team.
Declaration
Swift
case groupNotInTeam
-
These members are not part of your team. Currently, you cannot add members to a group if they are not part of your team, though this may change in a subsequent version. To add new members to your Dropbox Business team, use the membersAdd endpoint.
Declaration
Swift
case membersNotInTeam([String])
-
These users were not found in Dropbox.
Declaration
Swift
case usersNotFound([String])
-
A suspended user cannot be added to a group as owner in GroupAccessType.
Declaration
Swift
case userMustBeActiveToBeOwner
-
A company-managed group cannot be managed by a user.
Declaration
Swift
case userCannotBeManagerOfCompanyManagedGroup([String])
-
Declaration
Swift
public var description: String { get }