EapUsernamePasswordCredential structure (eaptypes.h)

The EapUsernamePasswordCredential structure contains the username and password that is used by the EAP method for authenticating the user.

Syntax

typedef struct _EapUsernamePasswordCredential {
  LPWSTR username;
  LPWSTR password;
} EapUsernamePasswordCredential;

Members

username

A NULL-terminated Unicode string that contains the username that needs authentication. The username uses the format user@domain or domain\user.

password

A NULL-terminated Unicode string that contains the password to verify the user. The password is encrypted using the CredProtect function. The EAP method must use the CredUnprotect function to retrieve the unencrypted password.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header eaptypes.h

See also

EapCredential EapCredentialType