Re: getusernameex and namesamcompatible
- From: "Volodymyr Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx>
- Date: Thu, 20 Dec 2007 12:48:18 +0100
Yes (If GetUserNameEx will succeed)
--
Volodymyr
"lasso" <lasso@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7D4D6A85-CCDF-47D7-B1FF-B092FC4D94A6@xxxxxxxxxxxxxxxx
hello,
if my program is running as user jdoe on the active directory domain
mydomain.com with the netbiosname mynetname and i running the following
lines
of pseudo-c++:
string username
GetUserNameEx (NameSamCompatible, username, username.length)
will username always be "mynetname\jdoe"? even if the account is
impersonated or actually running the program, if it's a native 2003 ad or
mixed mode, if he has logged in as "mydomain.com\jdoe" or
"mynetname\jdoe",
if he is authenticated with kerberos or ntlm or what have you, if it's a
child domain or not, etc etc?
regards,
lars
.
- Prev by Date: Re: Force NIC to 100 Mbps
- Next by Date: Re: How to create multiple http sessions?
- Previous by thread: Re: Network Provider enumeration hangs?!
- Next by thread: Set IPV6 address on adapter
- Index(es):
Relevant Pages
|
Loading