Share via


AdlsClient.CheckAccess(String, String, CancellationToken) Method

Definition

Checks if the user/group has specified access of the given path

public virtual bool CheckAccess (string path, string rwx, System.Threading.CancellationToken cancelToken = default);

Parameters

path
String

Path of the file or directory

rwx
String

Permission to check in "rwx" string form. For example if the user wants to see if it has read, execute permission, the string would be r-x

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

True if client has access to the path else false

Applies to