Determine if current user is in Administrators group (Windows/Python)

Posted by FogleBird on Stack Overflow See other posts from Stack Overflow or by FogleBird
Published on 2010-03-15T15:46:23Z Indexed on 2010/03/15 15:49 UTC
Read the original article Hit count: 126

Filed under:
|
|
|

I want certain functions in my application to only be accessible if the current user is an administrator.

How can I determine if the current user is in the local Administrators group using Python on Windows?

© Stack Overflow or respective owner

Related posts about python

Related posts about Windows