IComputeNodeOperations.DeleteUserAsync Method (String, String, String, ComputeNodeDeleteUserParameters, CancellationToken)

 

Deletes a user account from the specified compute node.

Namespace:   Microsoft.Azure.Batch.Protocol
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

Task<ComputeNodeDeleteUserResponse> DeleteUserAsync(
    string poolId,
    string nodeId,
    string userName,
    ComputeNodeDeleteUserParameters parameters,
    CancellationToken cancellationToken
)
Task<ComputeNodeDeleteUserResponse^>^ DeleteUserAsync(
    String^ poolId,
    String^ nodeId,
    String^ userName,
    ComputeNodeDeleteUserParameters^ parameters,
    CancellationToken cancellationToken
)
abstract DeleteUserAsync : 
        poolId:string *
        nodeId:string *
        userName:string *
        parameters:ComputeNodeDeleteUserParameters *
        cancellationToken:CancellationToken -> Task<ComputeNodeDeleteUserResponse>
Function DeleteUserAsync (
    poolId As String,
    nodeId As String,
    userName As String,
    parameters As ComputeNodeDeleteUserParameters,
    cancellationToken As CancellationToken
) As Task(Of ComputeNodeDeleteUserResponse)

Parameters

  • poolId
    Type: System.String

    The id of the pool that contains the compute node.

  • nodeId
    Type: System.String

    The id of the machine on which you want to delete a user account.

  • userName
    Type: System.String

    The name of the user account to delete.

Return Value

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

Response to a ComputeNodeOperations.DeleteUser request.

See Also

IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace

Return to top