Condividi tramite


FileSystemOperationsExtensions.GetAclStatusAsync Method

Definition

Gets Access Control List (ACL) entries for the specified file or directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult> GetAclStatusAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string aclFilePath, bool? tooId = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult> GetAclStatusAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, bool? tooId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAclStatusAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult>
static member GetAclStatusAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult>
<Extension()>
Public Function GetAclStatusAsync (operations As IFileSystemOperations, accountName As String, aclFilePath As String, Optional tooId As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AclStatusResult)
<Extension()>
Public Function GetAclStatusAsync (operations As IFileSystemOperations, accountName As String, path As String, Optional tooId As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AclStatusResult)

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

aclFilePathpath
String

The Data Lake Store path (starting with '/') of the file or directory for which to get the ACL.

tooId
Nullable<Boolean>

An optional switch to return friendly names in place of object ID for ACL entries. tooid=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to