Share via


AdlsClient.ModifyAclEntries Method

Definition

Modifies acl entries of a file or directory with given ACL list. It merges the exisitng ACL list with given list.

public virtual void ModifyAclEntries (string path, System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.Acl.AclEntry> aclSpec, System.Threading.CancellationToken cancelToken = default);
abstract member ModifyAclEntries : string * System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.Acl.AclEntry> * System.Threading.CancellationToken -> unit
override this.ModifyAclEntries : string * System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.Acl.AclEntry> * System.Threading.CancellationToken -> unit
Public Overridable Sub ModifyAclEntries (path As String, aclSpec As List(Of AclEntry), Optional cancelToken As CancellationToken = Nothing)

Parameters

path
String

Path of the file or directory

aclSpec
List<AclEntry>

List of Acl Entries to modify

cancelToken
CancellationToken

CancellationToken to cancel the request

Applies to