AdlsClient.ModifyAclEntries(String, List<AclEntry>, CancellationToken) 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
System.String

Path of the file or directory

aclSpec
System.Collections.Generic.List<AclEntry>

List of Acl Entries to modify

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Applies to