Share via


AdlsClient.SetPermission(String, String, CancellationToken) Method

Definition

Sets the permission of the specified path

public virtual void SetPermission (string path, string permission, System.Threading.CancellationToken cancelToken = default);
abstract member SetPermission : string * string * System.Threading.CancellationToken -> unit
override this.SetPermission : string * string * System.Threading.CancellationToken -> unit
Public Overridable Sub SetPermission (path As String, permission As String, Optional cancelToken As CancellationToken = Nothing)

Parameters

path
String

Path of the file or directory

permission
String

Permission to check in unix octal form. For example if the user wants to see if owner has read, write execute permission, all groups has read write permission and others has read permission the string would be 741

cancelToken
CancellationToken

CancellationToken to cancel the request

Applies to