DiskQuotaControl.DeleteUser method

Deletes a user from the volume.

Syntax


DiskQuotaControl.DeleteUser(
  oUser
)

Parameters

oUser

Type: Object

An object expression that evaluates to the user's DIDiskQuotaUser object.

Return value

This method does not return a value.

Remarks

This method fails if the user owns any storage on the volume. Before you delete a user from a volume, all storage for that user must be deleted, be moved to another volume, or have its ownership transferred to another user.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

DLL

Shell32.dll (version 5.0 or later)

See also

AddUser
DiskQuotaControl

 

 

Show: