Show / Hide Table of Contents

Class FolderPermission

Whether the user is allowed to take the action on the shared folder.

Inheritance
System.Object
FolderPermission
Inherited Members
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 FolderPermission

Constructors

| Improve this Doc View Source

FolderPermission(FolderAction, Boolean, PermissionDeniedReason)

Initializes a new instance of the FolderPermission class.

Declaration
public FolderPermission(FolderAction action, bool allow, PermissionDeniedReason reason = null)
Parameters
Type Name Description
FolderAction action

The action that the user may wish to take on the folder.

System.Boolean allow

True if the user is allowed to take the action.

PermissionDeniedReason reason

The reason why the user is denied the permission. Not present if the action is allowed, or if no reason is available.

Properties

| Improve this Doc View Source

Action

The action that the user may wish to take on the folder.

Declaration
public FolderAction Action { get; protected set; }
Property Value
Type Description
FolderAction
| Improve this Doc View Source

Allow

True if the user is allowed to take the action.

Declaration
public bool Allow { get; protected set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Reason

The reason why the user is denied the permission. Not present if the action is allowed, or if no reason is available.

Declaration
public PermissionDeniedReason Reason { get; protected set; }
Property Value
Type Description
PermissionDeniedReason
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FolderPermission(FolderAction, Boolean, PermissionDeniedReason)
  • Properties
    • Action
    • Allow
    • Reason
Back to top Generated by DocFX