Dropbox .NET SDK
Show / Hide Table of Contents

Class FilePermission

Whether the user is allowed to take the sharing action on the file.

Inheritance
object
FilePermission
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class FilePermission

Constructors

View Source

FilePermission(FileAction, bool, PermissionDeniedReason)

Initializes a new instance of the FilePermission class.

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

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

bool 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.

Properties

View Source

Action

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

Declaration
public FileAction Action { get; protected set; }
Property Value
Type Description
FileAction
View Source

Allow

True if the user is allowed to take the action.

Declaration
public bool Allow { get; protected set; }
Property Value
Type Description
bool
View Source

Reason

The reason why the user is denied the permission. Not present if the action is allowed.

Declaration
public PermissionDeniedReason Reason { get; protected set; }
Property Value
Type Description
PermissionDeniedReason
  • View Source
In this article
Back to top Dropbox .NET SDK