[This is preliminary documentation and subject to change.]
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 network domain controller. As names are obtained, they are cached.
HRESULT InvalidateSidNameCache( void );
This method has no parameters.
This method returns one of the following values.
Value | Meaning |
---|---|
S_OK | Success. |
E_FAIL | 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.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in dskquota.h.
File Systems Overview, File System Interfaces, IDiskQuotaControl