Share via


FileSystemOperationsExtensions.RemoveAclAsync Method

Definition

Removes the existing Access Control List (ACL) of the specified file or directory.

public static System.Threading.Tasks.Task RemoveAclAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string aclFilePath, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task RemoveAclAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, System.Threading.CancellationToken cancellationToken = default);
static member RemoveAclAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
static member RemoveAclAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RemoveAclAsync (operations As IFileSystemOperations, accountName As String, aclFilePath As String, Optional cancellationToken As CancellationToken = Nothing) As Task
<Extension()>
Public Function RemoveAclAsync (operations As IFileSystemOperations, accountName As String, path As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

aclFilePathpath
String

The Data Lake Store path (starting with '/') of the file or directory with the ACL being removed.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to