FileSystemOperationsExtensions.CheckAccessAsync Method (IFileSystemOperations, String, String, String)

 

Checks if the specified access is available at the given path.

Namespace:   Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly:  Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)

Syntax

public static Task<AzureOperationResponse> CheckAccessAsync(
    this IFileSystemOperations operations,
    string path,
    string accountName,
    string fsAction
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ CheckAccessAsync(
    IFileSystemOperations^ operations,
    String^ path,
    String^ accountName,
    String^ fsAction
)
static member CheckAccessAsync : 
        operations:IFileSystemOperations *
        path:string *
        accountName:string *
        fsAction:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function CheckAccessAsync (
    operations As IFileSystemOperations,
    path As String,
    accountName As String,
    fsAction As String
) As Task(Of AzureOperationResponse)

Parameters

  • path
    Type: System.String

    Required. The path to the file or folder to check access for.

  • accountName
    Type: System.String

    Required. The name of the account to use

  • fsAction
    Type: System.String

    Required. File system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}'

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

FileSystemOperationsExtensions Class
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace

Return to top