Class UpdateFolderPolicyArg
If any of the policies are unset, then they retain their current setting.
Inheritance
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class UpdateFolderPolicyArg
Constructors
| Improve this Doc View SourceUpdateFolderPolicyArg(String, MemberPolicy, AclUpdatePolicy, ViewerInfoPolicy, SharedLinkPolicy, LinkSettings, IEnumerable<FolderAction>)
Initializes a new instance of the UpdateFolderPolicyArg class.
Declaration
public UpdateFolderPolicyArg(string sharedFolderId, MemberPolicy memberPolicy = null, AclUpdatePolicy aclUpdatePolicy = null, ViewerInfoPolicy viewerInfoPolicy = null, SharedLinkPolicy sharedLinkPolicy = null, LinkSettings linkSettings = null, IEnumerable<FolderAction> actions = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | sharedFolderId | The ID for the shared folder. |
| MemberPolicy | memberPolicy | Who can be a member of this shared folder. Only applicable if the current user is on a team. |
| AclUpdatePolicy | aclUpdatePolicy | Who can add and remove members of this shared folder. |
| ViewerInfoPolicy | viewerInfoPolicy | Who can enable/disable viewer info for this shared folder. |
| 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. |
| LinkSettings | linkSettings | Settings on the link for this folder. |
| System.Collections.Generic.IEnumerable<FolderAction> | actions | A list of |
Properties
| Improve this Doc View SourceAclUpdatePolicy
Who can add and remove members of this shared folder.
Declaration
public AclUpdatePolicy AclUpdatePolicy { get; protected set; }
Property Value
| Type | Description |
|---|---|
| AclUpdatePolicy |
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> |
LinkSettings
Settings on the link for this folder.
Declaration
public LinkSettings LinkSettings { get; protected set; }
Property Value
| Type | Description |
|---|---|
| LinkSettings |
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 |
SharedFolderId
The ID for the shared folder.
Declaration
public string SharedFolderId { 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 |