IFileSystemOperations.SetOwnerAsync Method (String, String, String, String, CancellationToken)

 

Sets the owner of a file or folder.

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

Syntax

Task<AzureOperationResponse> SetOwnerAsync(
    string sourcePath,
    string accountName,
    string owner,
    string group,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ SetOwnerAsync(
    String^ sourcePath,
    String^ accountName,
    String^ owner,
    String^ group,
    CancellationToken cancellationToken
)
abstract SetOwnerAsync : 
        sourcePath:string *
        accountName:string *
        owner:string *
        group:string *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function SetOwnerAsync (
    sourcePath As String,
    accountName As String,
    owner As String,
    group As String,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • sourcePath
    Type: System.String

    The path to the directory or file to set the owner on.

  • owner
    Type: System.String

    The username who is the owner of a file/directory, if empty remains unchanged.

  • group
    Type: System.String

    The name of a group, if empty remains unchanged.

Return Value

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

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

See Also

IFileSystemOperations Interface
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace

Return to top