CREDENTIAL_PROVIDER_FIELD_TYPE enumeration

Specifies a type of credential field. Used by CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR.

Syntax


typedef enum _CREDENTIAL_PROVIDER_FIELD_TYPE { 
  CPFT_INVALID        = 0x0000,
  CPFT_LARGE_TEXT,
  CPFT_SMALL_TEXT,
  CPFT_COMMAND_LINK,
  CPFT_EDIT_TEXT,
  CPFT_PASSWORD_TEXT,
  CPFT_TILE_IMAGE,
  CPFT_CHECKBOX,
  CPFT_COMBOBOX,
  CPFT_SUBMIT_BUTTON
} CREDENTIAL_PROVIDER_FIELD_TYPE;

Constants

CPFT_INVALID

The value is invalid. This is a safe initialization value, as fields do not default to any given type.

CPFT_LARGE_TEXT

A stand-alone text label is drawn in the larger of two font sizes.

CPFT_SMALL_TEXT

A stand-alone text label is drawn in the smaller of two font sizes.

CPFT_COMMAND_LINK

An uneditable string that a user may click to perform an action. The credential provider is informed of the user's click, and then performs the requested action. Use CommandLinkClicked in your credential provider to respond to the click.

CPFT_EDIT_TEXT

An edit box. Users may provide credential information by typing in this box.

CPFT_PASSWORD_TEXT

A special edit control that displays its string as a series of password characters, such as the asterisk character (*). Otherwise this functions the same as CPFT_EDIT_TEXT.

CPFT_TILE_IMAGE

A bitmap that is shown as the user tile image. This bitmap cannot be edited. All credential providers must contain no more than one CPFT_TILE_IMAGE. If no image is specified, Logon UI and Credential UI will supply a default tile image.

CPFT_CHECKBOX

A checkbox control that allows for checked and unchecked states.

CPFT_COMBOBOX

A combobox control that allows users to select an option from a defined set of choices.

CPFT_SUBMIT_BUTTON

This field appears as a button on the credential tile. Pressing the button lets the user submit their credentials. There is exactly one CPFT_SUBMIT_BUTTON on any credential tile. Unlike Logon UI, which draws a special submit button in the tile layout, Credential UI hides this field and renders a single submit button for all credentials.

Remarks

This type enables you to specify the different elements your credential provider will need to display to the user. Credential providers are not responsible for drawing their own UI, so they need to define the elements that are necessary. This type is one of the elements to support that mechanism.

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: