The below small pice of code when excutred gives me the o/p for the current
loggen in user as
"username: CN=userid,OU=Users,OU=xyz,OU=abcd,DC=in,DC=abcdef,DC=com" .
I need this info for another user .. Not the current loggen in user. How do I
do it.
Thanks in Advance for the help
-----------
Try:
my $nto = Win32::OLE->CreateObject("NameTranslate");
$nto->Init(3, "");
$nto->Set(3, "$NetBIOSDomainName\\$Account");
my $ADS_NAME_TYPE_1779 = $nto->Get(1);
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs