Thanks.  So I have to pass the SID to some other function to get the actual
username?   or call a different function?  I tried
LocalGroupGetMembersWithDomain (which should give domain\users) but it's not
any better and it returns non-zero (error) without providing any information
about the error?

On Mon, 28 Jun 2004 17:37:12 -0700, Tim Johnson wrote
> That's because the SID is stored in binary, and when you try to print
> it, it tries to convert that binary value into a series of 
> characters, one of which is the beep sound (I know it doesn't make 
> any sense, but it's true).
> 
> > Subject: Win32::NetAdmin::LocalGroupGetMembers
> > Date: Fri, 25 Jun 2004 17:40:05 -0400
> > From: "perl.org" <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> >
> > I need to get the members of a local group on a Windows 2000 server.
> I was
> > reading the docs for Win32::NetAdmin
> > (http://perlhelp.web.cern.ch/PerlHelp/site/lib/Win32/NetAdmin.html)
> which
> > looks like the  place to start, but it is giving me weird results
> (including
> > beeps).  Any suggestions?  SIDs I could understand, but a repeated
> binary
> > value is a little weird.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to