Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Сети";
Текущий архив: 2003.12.30;
Скачать: [xml.tar.bz2];

Вниз

функция 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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.013 c
3-99460
dmtr
2003-12-04 13:53
2003.12.30
Проблема с кирилицей в таблице FoxPro 2.6


1-99608
Vitaliygavrilov
2003-12-17 10:55
2003.12.30
Возможно ли при работе программы изменить ее интерфейс


14-99703
User_OKA
2003-12-09 14:59
2003.12.30
Win XP


1-99612
TUser
2003-12-17 11:01
2003.12.30
Сумма


3-99501
Artemij
2003-12-04 13:04
2003.12.30
Поле Memo в DBGrid





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский