ICredentialProviderUser::GetProviderID method (credentialprovider.h)

Retrieves the ID of the account provider for this user.

Syntax

HRESULT GetProviderID(
  [out] GUID *providerID
);

Parameters

[out] providerID

A pointer to a value that, when this method returns successfully, receives the GUID of the user's account provider.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This GUID applies to both logon and credential UI.

This value can also be retrieved as a PROPVARIANT through ICredentialProviderUser::GetValue.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header credentialprovider.h
Library CredentialProvider.lib
DLL Authui.dll

See also

ICredentialProviderUser

ICredentialProviderUser::GetValue