Dropbox .NET SDK
Show / Hide Table of Contents

Class FolderPolicy

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

Inheritance
object
FolderPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class FolderPolicy

Constructors

View Source

FolderPolicy(AclUpdatePolicy, SharedLinkPolicy, MemberPolicy, MemberPolicy, ViewerInfoPolicy)

Initializes a new instance of the FolderPolicy class.

Declaration
public FolderPolicy(AclUpdatePolicy aclUpdatePolicy, SharedLinkPolicy sharedLinkPolicy, MemberPolicy memberPolicy = null, MemberPolicy resolvedMemberPolicy = null, ViewerInfoPolicy viewerInfoPolicy = null)
Parameters
Type Name Description
AclUpdatePolicy aclUpdatePolicy

Who can add and remove members from this shared folder.

SharedLinkPolicy sharedLinkPolicy

Who links can be shared with.

MemberPolicy memberPolicy

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.

MemberPolicy resolvedMemberPolicy

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.

ViewerInfoPolicy viewerInfoPolicy

Who can enable/disable viewer info for this shared folder.

Properties

View Source

AclUpdatePolicy

Who can add and remove members from this shared folder.

Declaration
public AclUpdatePolicy AclUpdatePolicy { get; protected set; }
Property Value
Type Description
AclUpdatePolicy
View Source

MemberPolicy

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
public MemberPolicy MemberPolicy { get; protected set; }
Property Value
Type Description
MemberPolicy
View Source

ResolvedMemberPolicy

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
public MemberPolicy ResolvedMemberPolicy { get; protected set; }
Property Value
Type Description
MemberPolicy
View Source

SharedLinkPolicy

Who links can be shared with.

Declaration
public SharedLinkPolicy SharedLinkPolicy { get; protected set; }
Property Value
Type Description
SharedLinkPolicy
View Source

ViewerInfoPolicy

Who can enable/disable viewer info for this shared folder.

Declaration
public ViewerInfoPolicy ViewerInfoPolicy { get; protected set; }
Property Value
Type Description
ViewerInfoPolicy

See Also

SharedFileMetadata
SharedFolderMetadata
  • View Source
In this article
Back to top Dropbox .NET SDK