Class ShareFolderArgBase
The share folder arg base object
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class ShareFolderArgBase
Constructors
| Improve this Doc View SourceShareFolderArgBase(String, AclUpdatePolicy, Boolean, MemberPolicy, SharedLinkPolicy, ViewerInfoPolicy, AccessInheritance)
Initializes a new instance of the ShareFolderArgBase class.
Declaration
public ShareFolderArgBase(string path, AclUpdatePolicy aclUpdatePolicy = null, bool forceAsync = false, MemberPolicy memberPolicy = null, SharedLinkPolicy sharedLinkPolicy = null, ViewerInfoPolicy viewerInfoPolicy = null, AccessInheritance accessInheritance = 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. |
Properties
| Improve this Doc View SourceAccessInheritance
The access inheritance settings for the folder.
Declaration
public AccessInheritance AccessInheritance { get; protected set; }
Property Value
Type | Description |
---|---|
AccessInheritance |
AclUpdatePolicy
Who can add and remove members of this shared folder.
Declaration
public AclUpdatePolicy AclUpdatePolicy { get; protected set; }
Property Value
Type | Description |
---|---|
AclUpdatePolicy |
ForceAsync
Whether to force the share to happen asynchronously.
Declaration
public bool ForceAsync { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MemberPolicy
Who can be a member of this shared folder. Only applicable if the current user is on a team.
Declaration
public MemberPolicy MemberPolicy { get; protected set; }
Property Value
Type | Description |
---|---|
MemberPolicy |
Path
The path to the folder to share. If it does not exist, then a new one is created.
Declaration
public string Path { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
public SharedLinkPolicy SharedLinkPolicy { get; protected set; }
Property Value
Type | Description |
---|---|
SharedLinkPolicy |
ViewerInfoPolicy
Who can enable/disable viewer info for this shared folder.
Declaration
public ViewerInfoPolicy ViewerInfoPolicy { get; protected set; }
Property Value
Type | Description |
---|---|
ViewerInfoPolicy |