Export (0) Print
Expand All
Expand Minimize

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.

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 (*).

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

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