IDiskQuotaEvents::OnUserNameChanged method (dskquota.h)

Notifies the client's connection sink whenever a user's SID has been asynchronously resolved. If IDiskQuotaUser::GetAccountStatus returns DISKQUOTA_USER_ACCOUNT_RESOLVED, the user's account container name, logon name, and display name strings are available in the quota user object.

Syntax

HRESULT OnUserNameChanged(
  [in] PDISKQUOTA_USER pUser
);

Parameters

[in] pUser

A pointer to the IDiskQuotaUser interface for the quota user object. Do not call Release on this pointer. The DiskQuotaControl object controls the lifetime of the user object.

Return value

The return value is ignored.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dskquota.h
DLL Dskquota.dll

See also

Disk Management Interfaces

Disk Quotas

IDiskQuotaEvents