Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.12.30;
Скачать: CL | DM;

Вниз

функция LogonUser как определить домен ?   Найти похожие ветки 

 
dream   (2003-10-30 07:51) [0]

с справки :
BOOL LogonUser(

LPTSTR lpszUsername, // string that specifies the user name
LPTSTR lpszDomain, // string that specifies the domain or server
LPTSTR lpszPassword, // string that specifies the password
DWORD dwLogonType, // specifies the type of logon operation
DWORD dwLogonProvider, // specifies the logon provider
PHANDLE phToken // pointer to variable to receive token handle
);

lpszDomain - что писать ? не нет у меня домена !!!! только рабочая группа
как правельно запускать ?


 
ZeroDivide ©   (2003-10-30 09:29) [1]

Писать nil


 
Игорь Шевченко ©   (2003-10-30 10:58) [2]

Имя рабочей группы и писать


 
VMcL ©   (2003-10-30 20:39) [3]

"." -- ?

lpszDomain

Pointer to a null-terminated string that specifies the domain or server to log on to. If this parameter is ".", LogonUser searches only the local account database for the account specified in lpszUsername. If this parameter is NULL, LogonUser searches the local account database, and then searches trusted domain account databases, until it finds the lpszUsername account or the search is exhausted without finding the account name.



Страницы: 1 вся ветка

Текущий архив: 2003.12.30;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.012 c
14-99772
}|{yk
2003-12-09 19:19
2003.12.30
Математические методы в научных исследованиях


14-99733
Rihter
2003-12-07 23:26
2003.12.30
Чем отличается реляционная база от других?


8-99662
mrAld
2003-08-28 14:33
2003.12.30
Термин


4-99831
dimm
2003-11-03 13:43
2003.12.30
Как отловить WM_Paste чужого окна и вставить свой текст в edit?


3-99489
konst_bsh
2003-12-04 10:02
2003.12.30
Мастера, как пеердать параметр компоненту pFIBDataSet