[python-win32] Getting localized account name from RID

Sidnei da Silva sidnei at awkly.org
Tue May 9 16:50:41 CEST 2006


I need to get the localized account name for "BUILTIN\Users", which
afaict maps to ntsecuritycon.DOMAIN_ALIAS_RID_USERS. But, given that,
how do I get from the RID to the SID? (or to the account name which is
what I want anyway).

I've found the following article, but my C is not good enough to parse
that.
http://support.microsoft.com/default.aspx?kbid=157234

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the Python-win32 mailing list