RE: NetUserAdd argument

2002-07-24 Thread Giddings, Bret
-Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: 24 July 2002 00:41 To: Timothy Johnson; 'Jason Hemak'; [EMAIL PROTECTED] Subject: RE: NetUserAdd argument Actually, looking at this example again, the only ones you would set are name comment u

RE: NetUserAdd argument

2002-07-23 Thread Timothy Johnson
TECTED] Subject: RE: NetUserAdd argument I assume you're talking about the function from Win32::Lanman. The hash should be similar to the hashes returned by NetUserEnum(). This is from the example for that function: foreach $user (@users) { $hours = unpack("b16

RE: NetUserAdd argument

2002-07-23 Thread Timothy Johnson
I assume you're talking about the function from Win32::Lanman. The hash should be similar to the hashes returned by NetUserEnum(). This is from the example for that function: foreach $user (@users) { $hours = unpack("b168", ${$user}{'logon_hours'}); print "${$user}{'name'}