/// <summary> /// Deletes the user on a databox edge/gateway device. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='name'> /// The user name. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> public static void BeginDelete(this IUsersOperations operations, string deviceName, string name, string resourceGroupName) { operations.BeginDeleteAsync(deviceName, name, resourceGroupName).GetAwaiter().GetResult(); }
/// <summary> /// Delete user. This operation can take a while to complete /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='labAccountName'> /// The name of the lab Account. /// </param> /// <param name='labName'> /// The name of the lab. /// </param> /// <param name='userName'> /// The name of the user. /// </param> public static void BeginDelete(this IUsersOperations operations, string resourceGroupName, string labAccountName, string labName, string userName) { operations.BeginDeleteAsync(resourceGroupName, labAccountName, labName, userName).GetAwaiter().GetResult(); }