you need to send it a reference to a hash rather then an array then

hth
Jos

----- Original Message -----
From: "Veeraraju_Mareddi" <[EMAIL PROTECTED]>
To: "Jos I. Boumans" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 11:48 AM
Subject: RE: Getting a list of USERS from an NT USER GROUP


> I want to get Full name of the User
> --------------------------------------------------------------------------
--
> --------------------------------------------------------------------------
--
> ---
> use Win32::Lanman;
>
> if(!Win32::Lanman::NetGroupGetUsers("\\\\hotnt001", "Webusers", \@users))
>  {
>         print "Sorry, something went wrong; error: ";
>         # get the error code
>         print Win32::Lanman::GetLastError();
>         exit 1;
>  }
>
> #$NOTE="C:\\Webusers.txt"
>
>  open(WRITE ,">>C:\\Webusers.txt");
>
>  foreach $user (@users)
>  {
>
>
>         #don't print these binary data
>         #print "${$user}{'sid'}\n";
>         print WRITE "${$user}{'name'}\t${$user}{'Full Name'}\n";
>  }
> --------------------------------------------------------------------------
--
> ------------------------------------------------------------------------
> But I am Getting Only Username ,Is there any way we can get Full Name
Also..
>
>
> Thanx and Regards
> Rajuveera
>
> ----------
> From:  Jos I. Boumans [SMTP:[EMAIL PROTECTED]]
> Sent:  Tuesday, September 04, 2001 1:07 PM
> To:  Veeraraju_Mareddi; [EMAIL PROTECTED]
> Cc:  [EMAIL PROTECTED]
> Subject:  Re: Getting a list of USERS from an NT USER GROUP
>
> coincidently, i had to do the same thing yesterday...
>
> i used Win32::AdminMisc module, which you can obtain from
> www.roth.net
>
> the docu is good, so it should all explain itself from there.
> if your'e still stuck after installing, msg me, i'll send you some
> sample
> code.
>
> regards,
>
> Jos
>
> ----- Original Message -----
> From: "Veeraraju_Mareddi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 04, 2001 9:30 AM
> Subject: Getting a list of USERS from an NT USER GROUP
>
>
> > Dear Beginners,
> >
> > I have a small task of getting NT user list from a NT USER GROUP.
> Please
> > suggest me..
> >
> > Thanking you....
> >
> > With Regards
> > Rajuveera
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to