Show / Hide Table of Contents

Class ShareFolderArg

The share folder arg object

Inheritance
System.Object
ShareFolderArgBase
ShareFolderArg
Inherited Members
ShareFolderArgBase.Path
ShareFolderArgBase.AclUpdatePolicy
ShareFolderArgBase.ForceAsync
ShareFolderArgBase.MemberPolicy
ShareFolderArgBase.SharedLinkPolicy
ShareFolderArgBase.ViewerInfoPolicy
ShareFolderArgBase.AccessInheritance
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class ShareFolderArg : ShareFolderArgBase

Constructors

| Improve this Doc View Source

ShareFolderArg(String, AclUpdatePolicy, Boolean, MemberPolicy, SharedLinkPolicy, ViewerInfoPolicy, AccessInheritance, IEnumerable<FolderAction>, LinkSettings)

Initializes a new instance of the ShareFolderArg class.

Declaration
public ShareFolderArg(string path, AclUpdatePolicy aclUpdatePolicy = null, bool forceAsync = false, MemberPolicy memberPolicy = null, SharedLinkPolicy sharedLinkPolicy = null, ViewerInfoPolicy viewerInfoPolicy = null, AccessInheritance accessInheritance = null, IEnumerable<FolderAction> actions = null, LinkSettings linkSettings = null)
Parameters
Type Name Description
System.String path

The path to the folder to share. If it does not exist, then a new one is created.

AclUpdatePolicy aclUpdatePolicy

Who can add and remove members of this shared folder.

System.Boolean forceAsync

Whether to force the share to happen asynchronously.

MemberPolicy memberPolicy

Who can be a member of this shared folder. Only applicable if the current user is on a team.

SharedLinkPolicy sharedLinkPolicy

The policy to apply to shared links created for content inside this shared folder. The current user must be on a team to set this policy to SharedLinkPolicy.Members.

ViewerInfoPolicy viewerInfoPolicy

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

AccessInheritance accessInheritance

The access inheritance settings for the folder.

System.Collections.Generic.IEnumerable<FolderAction> actions

A list of FolderActions corresponding to FolderPermissions that should appear in the response's Permissions field describing the actions the authenticated user can perform on the folder.

LinkSettings linkSettings

Settings on the link for this folder.

Properties

| Improve this Doc View Source

Actions

A list of FolderActions corresponding to FolderPermissions that should appear in the response's Permissions field describing the actions the authenticated user can perform on the folder.

Declaration
public IList<FolderAction> Actions { get; protected set; }
Property Value
Type Description
System.Collections.Generic.IList<FolderAction>
| Improve this Doc View Source

LinkSettings

Settings on the link for this folder.

Declaration
public LinkSettings LinkSettings { get; protected set; }
Property Value
Type Description
LinkSettings
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • ShareFolderArg(String, AclUpdatePolicy, Boolean, MemberPolicy, SharedLinkPolicy, ViewerInfoPolicy, AccessInheritance, IEnumerable<FolderAction>, LinkSettings)
  • Properties
    • Actions
    • LinkSettings
Back to top Generated by DocFX