Try UserGetMiscAttributes(DOMAIN, USER, INFO) from Win32::AdminMisc. It will populate the hash INFO with tons of info, including the user's full name.
Cheers, /LG Para: [EMAIL PROTECTED], "Mike Brentlinger" [EMAIL PROTECTED] <[EMAIL PROTECTED]> cc: Enviado Por: Assunto: Re: Get the user name not the userid [EMAIL PROTECTED] with Win32::NetAdmin e.com 21/03/02 09:44 EST c:\>echo %USERDOMAIN% c:\>echo %USERNAME% ----Original Message Follows---- From: "Fernando Freire Baez \[Medicare\)" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Get the user name not the userid with Win32::NetAdmin Date: Thu, 21 Mar 2002 09:57:00 -0400 I am using Win32::NetAdmin in one of my scripts and it work best. But I want to know if exist a method that retrieve the user name so, I can pass the userid and password as an argument and the method return the name of the user if the userid exist in the domain. e.g.: $name = methodtoretrievthename($userid, $paword); print $name if $name; Thanks in advanced. _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs