DBTEAMMembersSetPermissions2ErrorTag
Objective-C
enum DBTEAMMembersSetPermissions2ErrorTag : NSInteger {}
Swift
@frozen enum DBTEAMMembersSetPermissions2ErrorTag : Int, @unchecked Sendable
The DBTEAMMembersSetPermissions2ErrorTag
enum type represents the possible
tag states with which the DBTEAMMembersSetPermissions2Error
union can
exist.
-
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorUserNotFound
Swift
case userNotFound = 0
-
Cannot remove the admin setting of the last admin.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorLastAdmin
Swift
case lastAdmin = 1
-
The user is not a member of the team.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorUserNotInTeam
Swift
case userNotInTeam = 2
-
Cannot remove/grant permissions. This can happen if the team member is suspended.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorCannotSetPermissions
Swift
case cannotSetPermissions = 3
-
No matching role found. At least one of the provided new_roles does not exist on this team.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorRoleNotFound
Swift
case roleNotFound = 4
-
(no description).
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorOther
Swift
case other = 5