[python-win32] Check if user has windows administrator privilege

Johri, Mayank (GTI) mayank_johri at ml.com
Mon Jan 14 20:17:15 CET 2008


Patrick,
 
this might help you. 
http://support.microsoft.com/kb/q118626/
 
 

Thanks and Regards,

Mayank Johri
Merrill Lynch & Co.
Ph: 212.647.3076

	-----Original Message-----
	From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org] On Behalf Of Patrick Li
	Sent: Monday, January 14, 2008 1:55 PM
	To: python-win32 at python.org
	Subject: [python-win32] Check if user has windows administrator
privilege
	
	
	Hi,
	
	Does anyone know if there's a way to programmatically check to
see if a user has windows administrator privilege?  I need this to work
in WinXP and Vista.
	
	Thanks in advance,
	Patrick
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080114/e875fbad/attachment.htm 


More information about the python-win32 mailing list