Class ShareFolderArg
The share folder arg object
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class ShareFolderArg : ShareFolderArgBase
Constructors
| Improve this Doc View SourceShareFolderArg(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 |
LinkSettings | linkSettings | Settings on the link for this folder. |
Properties
| Improve this Doc View SourceActions
A list of FolderAction
s corresponding to FolderPermission
s 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> |
LinkSettings
Settings on the link for this folder.
Declaration
public LinkSettings LinkSettings { get; protected set; }
Property Value
Type | Description |
---|---|
LinkSettings |