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 SourceFolderPermission(FolderAction, Boolean, PermissionDeniedReason)
Initializes a new instance of the Folder
Declaration
public FolderPermission(FolderAction action, bool allow, PermissionDeniedReason reason = null)
Parameters
Type | Name | Description |
---|---|---|
Folder |
action | The action that the user may wish to take on the folder. |
System. |
allow | True if the user is allowed to take the action. |
Permission |
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 SourceAction
The action that the user may wish to take on the folder.
Declaration
public FolderAction Action { get; protected set; }
Property Value
Type | Description |
---|---|
Folder |
Allow
True if the user is allowed to take the action.
Declaration
public bool Allow { get; protected set; }
Property Value
Type | Description |
---|---|
System. |
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 |
---|---|
Permission |