共用方式為


FileSystemOperationsExtensions.RemoveAclEntriesAsync Method

Definition

Removes existing Access Control List (ACL) entries for a file or folder.

public static System.Threading.Tasks.Task RemoveAclEntriesAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string removeAclFilePath, string aclspec, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task RemoveAclEntriesAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, string aclspec, System.Threading.CancellationToken cancellationToken = default);
static member RemoveAclEntriesAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
static member RemoveAclEntriesAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RemoveAclEntriesAsync (operations As IFileSystemOperations, accountName As String, removeAclFilePath As String, aclspec As String, Optional cancellationToken As CancellationToken = Nothing) As Task
<Extension()>
Public Function RemoveAclEntriesAsync (operations As IFileSystemOperations, accountName As String, path As String, aclspec 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.

removeAclFilePathpath
String

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

aclspec
String

The ACL spec included in ACL removal operations in the format '[default:]user|group|other'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to