Export (0) Print
Expand All

IIdentityStore::EnumerateIdentities method

The EnumerateIdentities method gets a pointer to an IEnumUnknown interface pointer that can be used to enumerate identities across identity providers.

Syntax


HRESULT EnumerateIdentities(
  [in]           const IDENTITY_TYPE eIdentityType,
  [in, optional] const PROPERTYKEY   *pFilterkey,
  [in, optional] const PROPVARIANT   *pFilterPropVarValue,
  [out]                IEnumUnknown  **ppIdentityEnum
);

Parameters

eIdentityType [in]

A value of the IDENTITY_TYPE enumeration that indicates the type of identities to enumerate.

pFilterkey [in, optional]

A pointer to a PROPERTYKEY structure that specifies a property. If the value of this parameter is not NULL, only identities that support the property specified by this parameter are enumerated.

pFilterPropVarValue [in, optional]

A pointer to a PROPVARIANT structure. If the values of this parameter and the pFilterkey parameters are not NULL, only identities that have the property value specified by this parameter are enumerated.

ppIdentityEnum [out]

A pointer to an IEnumUnknown interface pointer that can be used to enumerate identities.

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft