NextIdentity
Iterates through an enumeration of sign-in names for identities that have cached credentials, generated by the EnumIdentitiesWithCachedCredentials method.
HRESULT NextIdentity(
IN PassportEnumIdentitiesHandle hEnumHandle,
OUT LPWSTR * szMemberName
);
Parameters
hEnumHandle
An enumeration of the sign-in names of the identities for which the credentials are cached.
wszMemberName
A string containing the sign-in name of an identity for which the IDCRL has cached a credential.
Return Values
The following table describes the return values for this method.
Return Code |
Description |
---|---|
S_OK |
The sign-in name was successfully retrieved. |
E_POINTER |
The wszMemberName parameter is NULL. |
Remarks
You must free the sign-in names that this method returns by using the PassportFreeMemory method.