AdlsClient.ModifyAclEntries(String, List<AclEntry>, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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