Export (0) Print
Expand All
Expand Minimize

CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS enumeration

Provides customization options for a single field in a logon or credential UI. Used by ICredentialProviderCredentialEvents2::SetFieldOptions and ICredentialProviderCredentialWithFieldOptions::GetFieldOptions.

Syntax


typedef enum CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS { 
  CPCFPO_NONE                              = 0x00000000,
  CPCFPO_ENABLE_PASSWORD_REVEAL            = 0x00000001,
  CPCFPO_IS_EMAIL_ADDRESS                  = 0x00000002,
  CPCFO_ENABLE_TOUCH_KEYBOARD_AUTO_INVOKE  = 0x00000004,
  CPCFO_NUMBERS_ONLY                       = 0x00000008
} CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS;

Constants

CPCFPO_NONE

Default. Do not show the "password reveal" glyph and use the standard on-screen keyboard layout.

CPCFPO_ENABLE_PASSWORD_REVEAL

Display the "password reveal" glyph in a password entry box. When this glyph is held down by the user, the entry in the password box is shown in plain text. The glyph is shown here:

Password reveal glyph

CPCFPO_IS_EMAIL_ADDRESS

The field will contain an e-mail address. The on-screen keyboard should be optimized for that input (showing the .com and @ keys on the primary keyboard layout). This option is used with Microsoft account credentials.

CPCFO_ENABLE_TOUCH_KEYBOARD_AUTO_INVOKE

When enabled, the touch keyboard will be automatically invoked. This should be set only on the CPFG_CREDENTIAL_PROVIDER_LOGO field.

CPCFO_NUMBERS_ONLY

The field will only allow numerals to be entered. The on-screen keyboard should be optimized for that input (showing only a number keypad on the primary keyboard layout). This should be set only on the CPFT_PASSWORD_TEXT field

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

CredentialProvider.h

IDL

CredentialProvider.idl

See also

ICredentialProviderCredentialEvents2::SetFieldOptions
ICredentialProviderCredentialWithFieldOptions::GetFieldOptions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft