DBSHARINGPermissionDeniedReasonTag
Objective-C
enum DBSHARINGPermissionDeniedReasonTag : NSInteger {}
Swift
@frozen enum DBSHARINGPermissionDeniedReasonTag : Int, @unchecked Sendable
The DBSHARINGPermissionDeniedReasonTag
enum type represents the possible
tag states with which the DBSHARINGPermissionDeniedReason
union can exist.
-
User is not on the same team as the folder owner.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner
Swift
case userNotSameTeamAsOwner = 0
-
User is prohibited by the owner from taking the action.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner
Swift
case userNotAllowedByOwner = 1
-
Target is indirectly a member of the folder, for example by being part of a group.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonTargetIsIndirectMember
Swift
case targetIsIndirectMember = 2
-
Target is the owner of the folder.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonTargetIsOwner
Swift
case targetIsOwner = 3
-
Target is the user itself.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonTargetIsSelf
Swift
case targetIsSelf = 4
-
Target is not an active member of the team.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonTargetNotActive
Swift
case targetNotActive = 5
-
Folder is team folder for a limited team.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder
Swift
case folderIsLimitedTeamFolder = 6
-
The content owner needs to be on a Dropbox team to perform this action.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonOwnerNotOnTeam
Swift
case ownerNotOnTeam = 7
-
The user does not have permission to perform this action on the link.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonPermissionDenied
Swift
case permissionDenied = 8
-
The user’s team policy prevents performing this action on the link.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonRestrictedByTeam
Swift
case restrictedByTeam = 9
-
The user’s account type does not support this action.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonUserAccountType
Swift
case userAccountType = 10
-
The user needs to be on a Dropbox team to perform this action.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonUserNotOnTeam
Swift
case userNotOnTeam = 11
-
Folder is inside of another shared folder.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder
Swift
case folderIsInsideSharedFolder = 12
-
Policy cannot be changed due to restrictions from parent folder.
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonRestrictedByParentFolder
Swift
case restrictedByParentFolder = 13
-
(no description).
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonInsufficientPlan
Swift
case insufficientPlan = 14
-
(no description).
Declaration
Objective-C
DBSHARINGPermissionDeniedReasonOther
Swift
case other = 15