Hi
Is there a way I can determine whether a user is a local administrator using
pywin32? I've used NetUserGetLocalGroups to see if the user is in the
"Administrators" group, but this breaks on non-English versions of Windows.
As far as I can see there exists a function IsUserAnAdmin in shell32.lib (
shlobj.h), would it be possible to expose this through pywin32?

Thanks,
Arve Knudsen
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to