VisibilityPolicyDisallowedReason

public enum VisibilityPolicyDisallowedReason : CustomStringConvertible

The VisibilityPolicyDisallowedReason union

  • The user needs to delete and recreate the link to change the visibility policy.

    Declaration

    Swift

    case deleteAndRecreate
  • The parent shared folder restricts sharing of links outside the shared folder. To change the visibility policy, remove the restriction from the parent shared folder.

    Declaration

    Swift

    case restrictedBySharedFolder
  • The team policy prevents links being shared outside the team.

    Declaration

    Swift

    case restrictedByTeam
  • The user needs to be on a team to set this policy.

    Declaration

    Swift

    case userNotOnTeam
  • The user is a basic user or is on a limited team.

    Declaration

    Swift

    case userAccountType
  • The user does not have permission.

    Declaration

    Swift

    case permissionDenied
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }