AUTHENTICATION_INFO structure (searchapi.h)

Describes security authentication information for content access.

Syntax

typedef struct _AUTHENTICATION_INFO {
  DWORD     dwSize;
  AUTH_TYPE atAuthenticationType;
  LPCWSTR   pcwszUser;
  LPCWSTR   pcwszPassword;
} AUTHENTICATION_INFO;

Members

dwSize

Type: DWORD

Size of the structure, in bytes.

atAuthenticationType

Type: AUTH_TYPE

Flag to describe the type of authentication. For a list of possible values, see the AUTH_TYPE enumerated type.

pcwszUser

Type: LPCWSTR

Pointer to a null-terminated Unicode string containing the user name.

pcwszPassword

Type: LPCWSTR

Pointer to a null-terminated Unicode string containing the password for pcwszUser.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0