[python-win32] HKLM\SOFTWARE\...\ProfileList\... registry subkeyquery

Roger Upole rupole at hotmail.com
Thu Sep 6 18:50:54 CEST 2012


raf wrote:

> so my questions are:
> did the sid for the account name ever uniquely identify the user?

Yes. In fact it's the only way, since you can change the login name of an account.

> how do i obtain the "1009" that needs to be appended to the sid
> to complete it?

win32security.LookupAccountName will give you the complete sid for a username.

     Roger





More information about the python-win32 mailing list