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
DBTEAMMembersSetPermissions2ErrorUserNotFoundSwift
case userNotFound = 0 -
Cannot remove the admin setting of the last admin.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorLastAdminSwift
case lastAdmin = 1 -
The user is not a member of the team.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorUserNotInTeamSwift
case userNotInTeam = 2 -
Cannot remove/grant permissions. This can happen if the team member is suspended.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorCannotSetPermissionsSwift
case cannotSetPermissions = 3 -
No matching role found. At least one of the provided new_roles does not exist on this team.
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorRoleNotFoundSwift
case roleNotFound = 4 -
(no description).
Declaration
Objective-C
DBTEAMMembersSetPermissions2ErrorOtherSwift
case other = 5
View on GitHub
DBTEAMMembersSetPermissions2ErrorTag Enumeration Reference