Partager via


RASEAPUSERIDENTITY structure

The RASEAPUSERIDENTITY structure stores identity information for a particular user. This information is required for remote access connections that use Extensible Authentication Protocol (EAP) for authentication.

Syntax

typedef struct RASEAPUSERIDENTITY {
  TCHAR szUserName[UNLEN + 1];
  DWORD dwSizeofEapInfo;
  BYTE  pbEapInfo[1];
} RASEAPUSERIDENTITY;

Members

  • szUserName
    Pointer to user name of the user requesting authentication.

  • dwSizeofEapInfo
    Size of the identity information required by the extensible authentication protocol.

  • pbEapInfo
    Pointer to the identity information required by the extensible authentication protocol.

Remarks

Obtain the EAP information for the current user by calling RasGetEapUserIdentity. This function returns a RASEAPUSERIDENTITY structure that contains the EAP information. Free the memory occupied by this structure by calling RasFreeEapUserIdentity.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ras.h

See also

RasFreeEapUserIdentity

RasGetEapUserIdentity