CREDENTIAL_PROVIDER_FIELD_STATE
TOC
Collapse the table of content
Expand the table of content

CREDENTIAL_PROVIDER_FIELD_STATE enumeration

Specifies the state of a single field in the Credential UI. Used by CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR and ICredentialProviderCredentialEvents::SetFieldState. The behavior of fields may vary depending on the current field state.

Syntax


typedef enum _CREDENTIAL_PROVIDER_FIELD_STATE { 
  CPFS_HIDDEN                      = 0,
  CPFS_DISPLAY_IN_SELECTED_TILE,
  CPFS_DISPLAY_IN_DESELECTED_TILE,
  CPFS_DISPLAY_IN_BOTH
} CREDENTIAL_PROVIDER_FIELD_STATE;

Constants

CPFS_HIDDEN

Do not show the field in any state. One example of this would be a password edit control that should not be displayed until the user authenticates a thumb print. Until the thumb print has been authenticated, the state of the password field would be CPFS_HIDDEN.

CPFS_DISPLAY_IN_SELECTED_TILE

Show the field when in the selected state.

CPFS_DISPLAY_IN_DESELECTED_TILE

Show the field when in the deselected state. This value is only valid for a CREDENTIAL_PROVIDER_USAGE_SCENARIO is set to CPUS_CREDUI.

CPFS_DISPLAY_IN_BOTH

Show the field both when the credential tile is selected and when it is not selected.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

 

 

Show:
© 2016 Microsoft