IIdentityStore::AddToCache method (identitystore.h)
The AddtoCache method caches the specified identity in the registry.
Syntax
HRESULT AddToCache(
[in] LPCWSTR lpszUniqueID,
[in] REFGUID ProviderGUID
);
Parameters
[in] lpszUniqueID
The identity to cache.
[in] ProviderGUID
The identity provider associated with the identity.
Return value
If the method succeeds, it returns S_OK.
If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | identitystore.h |