Re: [python-win32] Creating users

2006-03-08 Thread James Carroll
> In that case, you can place files in the Default User profile, > and they'll get copied into new profiles as they are created. > Alternately, you can put them in the All Users profile, and > everyone will share the same copy. Thanks Roger, I've got one more question for you if I haven't bugged

Re: [python-win32] Creating users

2006-03-08 Thread Tim Roberts
James Carroll wrote: i = win32net.NetUserEnum('',0,0) That's It! I was thinking the third parameter would give me more information if it was a bigger number (I copied a 3 from the win32netdemo.py) but just having a 0 ther

Re: [python-win32] Creating users

2006-03-08 Thread James Carroll
> >>> i = win32net.NetUserEnum('',0,0) That's It! I was thinking the third parameter would give me more information if it was a bigger number (I copied a 3 from the win32netdemo.py) but just having a 0 there gives me all the users I was hoping for. Thanks, -Jim __

Re: [python-win32] Creating users

2006-03-08 Thread Tim Roberts
On Tue, 7 Mar 2006 16:39:13 -0500, "James Carroll" <[EMAIL PROTECTED]> wrote: >Hi I'm looking at maybe using: > > win32net.NetUserAdd(server, 1, d) > >to create user directories under Documents and Settings on the local >machine, but don't know what they want for passwords. I also don't >know if

Re: [python-win32] Creating users

2006-03-08 Thread James Carroll
> The profile, which is what's stored in Documents and Settings, will > be created (or copied from a server in the case of a roaming profile) > when the account is first logged on . Thanks Roger, since my goal is to copy something into the profile directories, then I am going to have to wait unti

[python-win32] Creating users

2006-03-07 Thread James Carroll
Hi I'm looking at maybe using: win32net.NetUserAdd(server, 1, d) to create user directories under Documents and Settings on the local machine, but don't know what they want for passwords. I also don't know if the users I want to create already have an account on their campus domain controller.