IIdentityProvider::FindByUniqueID method (identityprovider.h)

The FindByUniqueID method retrieves a pointer to the IPropertyStore interface instance associated with the specified identity.

Syntax

HRESULT FindByUniqueID(
  [in]  LPCWSTR        lpszUniqueID,
  [out] IPropertyStore **ppPropertyStore
);

Parameters

[in] lpszUniqueID

The unique identity to find.

[out] ppPropertyStore

A pointer to the instance of the IPropertyStore interface associated with the specified 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 identityprovider.h

See also

IIdentityProvider