Expand Minimize
This topic has not yet been rated - Rate this topic

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
} 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.

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.