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
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
  • AD help Neson Maxmelbin (RBEI/EMT4)
    • RE: AD help Bullock, Howard A.

Reply via email to