UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dskquota.IDiskQuotaControl.InvalidateSidNameCache |
IDiskQuotaControl::InvalidateSidNameCache (dskquota.h) |
Invalidates the contents of the system's SID-to-name cache so subsequent requests for new user objects (IEnumDiskQuotaUsers::Next, IDiskQuotaControl::FindUserSid, and IDiskQuotaControl::FindUserName) must obtain user names from the domain controller. |
|
fs\idiskquotacontrol_invalidatesidnamecache.htm |
fs |
9bca99e9-2dd7-4e79-ab6a-ad0e821dd9bf |
12/05/2018 |
IDiskQuotaControl interface [Files],InvalidateSidNameCache method, IDiskQuotaControl.InvalidateSidNameCache, IDiskQuotaControl::InvalidateSidNameCache, InvalidateSidNameCache, InvalidateSidNameCache method [Files], InvalidateSidNameCache method [Files],IDiskQuotaControl interface, _win32_idiskquotacontrol_invalidatesidnamecache, base.idiskquotacontrol_invalidatesidnamecache, dskquota/IDiskQuotaControl::InvalidateSidNameCache, fs.idiskquotacontrol_invalidatesidnamecache |
dskquota.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Dskquota.dll |
Windows |
19H1 |
|
|
|
|
|
|
Invalidates the contents of the system's SID-to-name cache so subsequent requests for new user objects (IEnumDiskQuotaUsers::Next, IDiskQuotaControl::FindUserSid, and IDiskQuotaControl::FindUserName) must obtain user names from the domain controller. As names are obtained, they are cached.
This method returns one of the following values.
Return code | Description |
---|---|
|
Success. |
|
The DiskQuotaControl object is not initialized. |
|
Insufficient memory. |
|
An unexpected exception occurred. |
|
The SID-to-name cache is not available or could not be exclusively locked. |
In general, there is no reason to call this method. It is included to provide a method for programmatically refreshing the entire SID-to-name cache.