Delen via


FileSystemOperationsExtensions.ModifyAclEntriesAsync Method

Definition

Modifies existing Access Control List (ACL) entries on a file or folder.

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

modifyAclFilePathpath
String

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

aclspec
String

The ACL specification included in ACL modification operations in the format '[default:]user|group|other::r|-w|-x|-'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to