DiskQuotaControl.OnUserNameChanged event

Occurs when the name information for a DIDiskQuotaUser object has been resolved.


function EventHandler( oUser )
    // Code to handle the event.

// Set the event property to the handler.
DiskQuotaControl.OnUserNameChanged = EventHandler;



The Object that evaluates to the DIDiskQuotaUser object associated with the user whose name has been resolved.


When a client enumerates users, or calls the AddUser or FindUser method, the user name must be resolved to the associated security ID (SID). Because this procedure can be time-consuming, a client can have name resolution done asynchronously on a background thread. When a user's name is resolved, the DiskQuotaControl object notifies its client by firing the OnUserNameChanged event. A DIDiskQuotaUser object associated with the user is passed as a parameter. This object allows the client to modify the user's quota settings.


Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]


Shell32.dll (version 5.0 or later)

See also

DiskQuotaControl Object