Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



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


1-99548
Dysan
2003-12-16 11:22
2003.12.30
TChart


6-99674
Ev1972
2003-10-27 17:18
2003.12.30
Как сохранить Web-страничку локально?


3-99468
MalkoLinge
2003-12-05 10:40
2003.12.30
Определить все Constraints схемы


1-99634
KOT
2003-12-15 22:59
2003.12.30
Как задать проверку на день недели?




   Наверх