Platform SDK: RAS/Routing and RAS |
The SECURITY_MESSAGE structure is used with the RasSecurityDialogComplete function to indicate the results of a RAS security DLL authentication transaction.
typedef struct _SECURITY_MESSAGE { DWORD dwMsgId; HPORT hPort; DWORD dwError; CHAR UserName[UNLEN+1]; CHAR Domain[DNLEN+1]; } SECURITY_MESSAGE, *PSECURITY_MESSAGE;
Value | Meaning |
---|---|
SECURITYMSG_SUCCESS | The security DLL successfully authenticated the remote user identified by the UserName member. The RAS server will proceed with its PPP authentication. |
SECURITYMSG_FAILURE | The security DLL denied access to the remote user identified by the UserName member. The RAS server will hang up the call and record the failed authentication in the Windows NT/2000 event log. |
SECURITYMSG_ERROR | An error occurred that prevented validation of the remote user. The RAS server will hang up the call and record the error in the Windows NT/2000 event log. |
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Unsupported.
Header: Declared in Rasshost.h.
Remote Access Service (RAS) Overview, RAS Server Administration Structures, RasSecurityDialogBegin, RasSecurityDialogComplete