Enum PermissionDeniedReason.Tag

    • Enum Constant Detail

      • USER_NOT_SAME_TEAM_AS_OWNER

        public static final PermissionDeniedReason.Tag USER_NOT_SAME_TEAM_AS_OWNER
        User is not on the same team as the folder owner.
      • USER_NOT_ALLOWED_BY_OWNER

        public static final PermissionDeniedReason.Tag USER_NOT_ALLOWED_BY_OWNER
        User is prohibited by the owner from taking the action.
      • TARGET_IS_INDIRECT_MEMBER

        public static final PermissionDeniedReason.Tag TARGET_IS_INDIRECT_MEMBER
        Target is indirectly a member of the folder, for example by being part of a group.
      • FOLDER_IS_LIMITED_TEAM_FOLDER

        public static final PermissionDeniedReason.Tag FOLDER_IS_LIMITED_TEAM_FOLDER
        Folder is team folder for a limited team.
      • OWNER_NOT_ON_TEAM

        public static final PermissionDeniedReason.Tag OWNER_NOT_ON_TEAM
        The content owner needs to be on a Dropbox team to perform this action.
      • PERMISSION_DENIED

        public static final PermissionDeniedReason.Tag PERMISSION_DENIED
        The user does not have permission to perform this action on the link.
      • RESTRICTED_BY_TEAM

        public static final PermissionDeniedReason.Tag RESTRICTED_BY_TEAM
        The user's team policy prevents performing this action on the link.
      • USER_ACCOUNT_TYPE

        public static final PermissionDeniedReason.Tag USER_ACCOUNT_TYPE
        The user's account type does not support this action.
      • USER_NOT_ON_TEAM

        public static final PermissionDeniedReason.Tag USER_NOT_ON_TEAM
        The user needs to be on a Dropbox team to perform this action.
      • FOLDER_IS_INSIDE_SHARED_FOLDER

        public static final PermissionDeniedReason.Tag FOLDER_IS_INSIDE_SHARED_FOLDER
        Folder is inside of another shared folder.
      • RESTRICTED_BY_PARENT_FOLDER

        public static final PermissionDeniedReason.Tag RESTRICTED_BY_PARENT_FOLDER
        Policy cannot be changed due to restrictions from parent folder.
      • OTHER

        public static final PermissionDeniedReason.Tag OTHER
        Catch-all used for unknown tag values returned by the Dropbox servers.

        Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.

    • Method Detail

      • values

        public static PermissionDeniedReason.Tag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PermissionDeniedReason.Tag c : PermissionDeniedReason.Tag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PermissionDeniedReason.Tag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null