DiskQuotaControl.UserNameResolution property

May 3, 2021 · View on GitHub

Sets or gets a value that controls how user security identifier (SID) are resolved to user names.

This property is read/write.

Syntax

iUserNameResolution = DiskQuotaControl.UserNameResolution
DiskQuotaControl.UserNameResolution = iUserNameResolution

Property value

This property can be set to one of the following values.

Resolution TypeValueDescription
dqResolveNone0Do not resolve user name information.
dqResolveSync1Wait while resolving name information.
dqResolveAsync2Do not wait while resolving name information. The OnUserNameChanged event fires when the name is resolved.

 

Remarks

This property affects the enumeration of DIDiskQuotaUser objects, and the AddUser and FindUser methods.

Requirements

RequirementValue
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

DiskQuotaControl Object