DBSHARINGFolderPolicy

Objective-C

@interface DBSHARINGFolderPolicy : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGFolderPolicy : NSObject, DBSerializable, NSCopying

The FolderPolicy struct.

A set of policies governing membership and privileges for a shared folder.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • Who can be a member of this shared folder, as set on the folder itself. The effective policy may differ from this value if the team-wide policy is more restrictive. Present only if the folder is owned by a team.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *memberPolicy;

    Swift

    var memberPolicy: DBSHARINGMemberPolicy? { get }
  • Who can be a member of this shared folder, taking into account both the folder and the team-wide policy. This value may differ from that of member_policy if the team-wide policy is more restrictive than the folder policy. Present only if the folder is owned by a team.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *resolvedMemberPolicy;

    Swift

    var resolvedMemberPolicy: DBSHARINGMemberPolicy? { get }
  • Who can add and remove members from this shared folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBSHARINGAclUpdatePolicy *_Nonnull aclUpdatePolicy;

    Swift

    var aclUpdatePolicy: DBSHARINGAclUpdatePolicy { get }
  • Who links can be shared with.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBSHARINGSharedLinkPolicy *_Nonnull sharedLinkPolicy;

    Swift

    var sharedLinkPolicy: DBSHARINGSharedLinkPolicy { get }
  • Who can enable/disable viewer info for this shared folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBSHARINGViewerInfoPolicy *viewerInfoPolicy;

    Swift

    var viewerInfoPolicy: DBSHARINGViewerInfoPolicy? { get }

Constructors