win32net setting a account to expire

Roger Upole rupole at compaq.net
Thu Apr 27 23:57:40 CEST 2000


win32net.NetUserSetInfo(srvr,user,lvl,dict)
The dictionary contains varying info depending on the level.
You might have to play around with NetUserGetInfo to figure
out which level has the parameters you want to set by the
names of the keys in the dict returned.  There's more info in
the help file in the python\win32\help directory
       Roger Upole

"Aaron Hagan" <ahagan at speedynet.net> wrote in message
news:8e9sub$v7h$1 at tracy.nacs.net...
> Is there a function to set a user account to expire ..
> similar to the command NET USER <USERNAME> /EXPIRE:xx/xx/xx /DOMAIN ?
> thanks
>
>





More information about the Python-list mailing list