Expand Minimize

CREDENTIAL_PROVIDER_USAGE_SCENARIO enumeration

Declares the scenarios in which a credential provider is supported. A credential provider usage scenario (CPUS) enables the credential provider to provide distinct enumeration behavior and UI field setup across scenarios.

Syntax


typedef enum _CREDENTIAL_PROVIDER_USAGE_SCENARIO { 
  CPUS_INVALID             = 0x0000,
  CPUS_LOGON,
  CPUS_UNLOCK_WORKSTATION,
  CPUS_CHANGE_PASSWORD,
  CPUS_CREDUI,
  CPUS_PLAP
} CREDENTIAL_PROVIDER_USAGE_SCENARIO;

Constants

CPUS_INVALID

No usage scenario has been set for the credential provider. The scenario is not passed to ICredentialProvider::SetUsageScenario. If a credential provider stores its current usage scenario as a class member, this provides an initialization value before the first call to ICredentialProvider::SetUsageScenario.

CPUS_LOGON

Workstation logon.

CPUS_UNLOCK_WORKSTATION

Workstation unlock.

CPUS_CHANGE_PASSWORD

Password change.

CPUS_CREDUI

Credential UI.

CPUS_PLAP

Pre-Logon-Access Provider. Credential providers responding to this usage scenario must register under:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft