Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WebAuthNGetPlatformCredentialList function (webauthn.h)

Retrieves the list of platform credentials stored for the current user.

Syntax

HRESULT WebAuthNGetPlatformCredentialList(
 PCWEBAUTHN_GET_CREDENTIALS_OPTIONS pGetCredentialsOptions,
 PWEBAUTHN_CREDENTIAL_DETAILS_LIST *ppCredentialDetailsList
);

Parameters

pGetCredentialsOptions

A pointer to a WEBAUTHN_GET_CREDENTIALS_OPTIONS structure that specifies filtering criteria for the credential list.

ppCredentialDetailsList

When this function returns successfully, contains a pointer to a WEBAUTHN_CREDENTIAL_DETAILS_LIST structure that receives the matching credentials. Free this with WebAuthNFreePlatformCredentialList.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Call WebAuthNGetErrorName to get a human-readable error string.

Requirements

Requirement Value
Header webauthn.h
Library OneCoreUAP.Lib

See also

WEBAUTHN_CREDENTIAL_DETAILS_LIST

WebAuthNFreePlatformCredentialList


Feedback

Was this page helpful?

Additional resources