Arve Knudsen schrieb:
> 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 functi
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