Re: WindowsNT user authentication

2007-02-14 Thread billie
On 14 Feb, 14:30, Tim Golden <[EMAIL PROTECTED]> wrote: > Tim Golden wrote: > > billie wrote: > >> Another question, I'm sorry. > >> Do you got any idea about how to get permissions of a file/directory > >> given the username? > >> For example: I would like to know if C:\my_file.ext is readable/ >

Re: WindowsNT user authentication

2007-02-14 Thread Tim Golden
Tim Golden wrote: > billie wrote: >> Another question, I'm sorry. >> Do you got any idea about how to get permissions of a file/directory >> given the username? >> For example: I would like to know if C:\my_file.ext is readable/ >> writable by user 'x' or not. > > This is an unfortunately messy qu

Re: WindowsNT user authentication

2007-02-14 Thread Tim Golden
billie wrote: > Another question, I'm sorry. > Do you got any idea about how to get permissions of a file/directory > given the username? > For example: I would like to know if C:\my_file.ext is readable/ > writable by user 'x' or not. This is an unfortunately messy question. The easiest answer --

Re: WindowsNT user authentication

2007-02-14 Thread billie
Another question, I'm sorry. Do you got any idea about how to get permissions of a file/directory given the username? For example: I would like to know if C:\my_file.ext is readable/ writable by user 'x' or not. -- http://mail.python.org/mailman/listinfo/python-list

Re: WindowsNT user authentication

2007-02-13 Thread billie
On 12 Feb, 16:53, Tim Golden <[EMAIL PROTECTED]> wrote: > billie wrote: > > Do you got any idea about how getting user's home directory? > > The answer to that is unfortunately slightly complicated, > because Windows has no such thing as a "user's home directory" > or, if you prefer, it has several

Re: WindowsNT user authentication

2007-02-12 Thread Tim Golden
billie wrote: > Do you got any idea about how getting user's home directory? The answer to that is unfortunately slightly complicated, because Windows has no such thing as a "user's home directory" or, if you prefer, it has several such things. If you want, you can let Python make the decision,

Re: WindowsNT user authentication

2007-02-12 Thread billie
On 12 Feb, 14:45, Tim Golden <[EMAIL PROTECTED]> wrote: > billie wrote: > > Hi there, > > I would like to submit a username/password pair to a Windows NT > > workstation and find out if it's valid. > > Moreover I would like to get the user's home directory given the > > username. > > Does it is pos

Re: WindowsNT user authentication

2007-02-12 Thread Tim Golden
billie wrote: > Hi there, > I would like to submit a username/password pair to a Windows NT > workstation and find out if it's valid. > Moreover I would like to get the user's home directory given the > username. > Does it is possible to do that by using pywin32 extension? http://timgolden.me.uk/p