Platform SDK: RAS/Routing and RAS

RASEAPUSERIDENTITY

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.

struct RASEAPUSERIDENTITY {
  TCHAR    szUserName[ UNLEN + 1 ];  // user name
  DWORD    dwSizeofEapInfo;          // size of identity info
  BYTE     pbEapInfo[ 1 ];           // identity info
};

Members

szUserName[ UNLEN + 1 ]
Pointer to user name of the user reqesting authentication.
dwSizeofEapInfo
Size of the identity information required by the extensible authentication protocol.
pbEapInfo[ 1 ]
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 will return a RASEAPUSERIDENTITY structure containing the EAP information. Free the memory occupied by this structure by calling RasFreeEapUserIdentity.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Ras.h.

See Also

RasFreeEapUserIdentity, RasGetEapUserIdentity