FolderPolicy Class

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

Constructors

Name Description
FolderPolicy(AclUpdatePolicy, SharedLinkPolicy, MemberPolicy?) Creates a new instance of the FolderPolicy class.

Properties

Name Type Description
AclUpdatePolicy DotNetBox.AclUpdatePolicy Who can add and remove members from this shared folder.
MemberPolicy DotNetBox.MemberPolicy Who can be a member of this shared folder. Only set if the user is a member of a team.
SharedLinkPolicy DotNetBox.SharedLinkPolicy Who links can be shared with.

Methods

Name Description
FolderPolicy.FromJson(JObject) Creates a new instance of the FolderPolicy class from a JSON object.
FolderPolicy.ToString() Returns a string containing all of the class’ properties.