IDiskQuotaControl::InvalidateSidNameCache

[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 );
 

Parameters

This method has no parameters.

Return Values

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.

Remarks

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.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in dskquota.h.

See Also

File Systems Overview, File System Interfaces, IDiskQuotaControl