Share via


Core.GetAclStatusAsync Method

Definition

Gets the ACL entry list, owner ID, group ID, octal permission and sticky bit (only for a directory) of the file/directory

public static System.Threading.Tasks.Task<Microsoft.Azure.DataLake.Store.Acl.AclStatus> GetAclStatusAsync (string path, Microsoft.Azure.DataLake.Store.UserGroupRepresentation? userIdFormat, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member GetAclStatusAsync : string * Nullable<Microsoft.Azure.DataLake.Store.UserGroupRepresentation> * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.DataLake.Store.Acl.AclStatus>
Public Shared Function GetAclStatusAsync (path As String, userIdFormat As Nullable(Of UserGroupRepresentation), client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task(Of AclStatus)

Parameters

path
String

Path of the file or directory

userIdFormat
Nullable<UserGroupRepresentation>

way to represent the user/group object

client
AdlsClient

ADLS Client

req
RequestOptions

Options to change behavior of the Http request

resp
OperationResponse

Stores the response/ouput of the Http request

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Acl information: ACL entry list, owner ID, group ID, octal permission and sticky bit

Applies to