На главную

On-line справка по Win32 API

Написать письмо
БЕСПЛАТНАЯ ежедневная online лотерея! Выигрывай каждый день БЕСПЛАТНО!
Список всех статей A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z | Скачать Вниз

SECURITY_MESSAGE



[New - Windows NT]

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;


Members

dwMsgId

Indicates whether the RAS server should grant access to the remote user. This member can be one of the following values.

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 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 event log.


hPort

Specifies the port handle that the RAS server passed to the security DLL in the RasSecurityDialogBegin call for this authentication transaction.

dwError

Specifies an error code. If dwMsgId is SECURITYMSG_ERROR, set dwError to one of the nonzero error codes defined in WINERROR.H or RASERROR.H. The RAS server records this error code in the Windows NT event log. If the dwMsgId member indicates success or failure, set dwError to zero.

UserName

Specifies the name of the remote user if dwMsgId is SECURITYMSG_SUCCESS or SECURITYMSG_FAILURE. This string can be empty if dwMsgId is SECURITYMSG_ERROR.

Domain

Specifies the name of the logon domain for the remote user if dwMsgId is SECURITYMSG_SUCCESS or SECURITYMSG_FAILURE. This string can be empty if dwMsgId is SECURITYMSG_ERROR.



See Also

RasSecurityDialogBegin, RasSecurityDialogComplete


Пригласи друзей и счет твоего мобильника всегда будет положительным!
Предыдущая статья
 
Сайт Народ.Ру Интернет
Следующая статья
Пригласи друзей и счет твоего мобильника всегда будет положительным!

SECURITY_MESSAGE



[Новый - Windows NT]

Структура SECURITY_MESSAGE использована функцией RasSecurityDialogComplete, чтобы указывать результаты аутентификации безопасности RAS сделки DLL.

typedef struct _SECURITY_MESSAGE { DWORD dwMsgId;
HPORT hPort;
dwError DWORD;
СИМВОЛ UserName[UNLEN+1];
СИМВОЛЬНАЯ Область[DNLEN+1];
} SECURITY_MESSAGE, *PSECURITY_MESSAGE;


Участники

dwMsgId

Указывает должен сервер RAS предоставлять доступ к дистанционному пользователю. Этот элемент может быть одним из следующего величин.

Значение Величины
SECURITYMSG_SUCCESS безопасность DLL успешно удостоверяла дистанционного пользователя идентифицировался элементом UserName. Сервер RAS приступит к своей аутентификации PPP.
SECURITYMSG_FAILURE безопасность DLL запрещала доступ к дистанционному пользователю идентифицировался элементом UserName. Сервер RAS отключит вызов и записывает неудачную аутентификацию в протокол события Windows NT.
SECURITYMSG_ERROR ошибка происходила это предохраненное подтверждение дистанционного пользователя. Сервер RAS отключит вызов и записывает ошибку в протокол события Windows NT.


hPort

Определяет ручку порта, что сервер RAS проходил в безопасность DLL в призыве RasSecurityDialogBegin к этой сделке аутентификации.

dwError

Определяет код ошибки. Если dwMsgId - SECURITYMSG_ERROR, установивший dwError в один из ненулевых кодов ошибки определенных в WINERROR.H или RASERROR.H. Сервер RAS записывает этот код ошибки в протокол события Windows NT. Если элемент dwMsgId указывает успех или неудачу, установившие dwError в нуль.

UserName

Определяет имя дистанционного пользователя если dwMsgId - SECURITYMSG_SUCCESS или SECURITYMSG_FAILURE. Эта строка может быть пустой если dwMsgId - SECURITYMSG_ERROR.

Область

Определяет имя области ввода для дистанционного пользователя если dwMsgId - SECURITYMSG_SUCCESS или SECURITYMSG_FAILURE. Эта строка может быть пустой если dwMsgId - SECURITYMSG_ERROR.



Смотри Также

RasSecurityDialogBegin, RasSecurityDialogComplete


Вверх Version 1.3, Oct 26 2010 © 2007, 2010, mrhx Вверх
 mrhx software  Русский перевод OpenGL  Русский перевод Win32 API
 
Используются технологии uCoz