IIdentityStore::AddToCache method

The AddtoCache method caches the specified identity in the registry.

Syntax


HRESULT AddToCache(
  [in] LPCWSTR lpszUniqueID,
  [in] REFGUID ProviderGUID
);

Parameters

lpszUniqueID [in]

The identity to cache.

ProviderGUID [in]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Identitystore.h

IDL

Identitystore.idl

IID

IID_IIdentityStore is defined as df586fa5-6f35-44f1-b209-b38e169772eb

See also

IIdentityStore

 

 

Show: