Archived

This topic is now archived and is closed to further replies.

zhang_zhou

How to know whether the current login user has the administrator privilege?

Recommended Posts

Hi,All, Does anyone can tell me the solution to detect whether the current login user has the administrator privilege on WinNT/2K? Just because now I have a program which if it can running or not depend on the current login user''s privilege on WinNT/2K,if the login user has the _administrator_ privilege,he/she can launch,otherwise he/she cannot. A BIG thanks for any help! ============================= Hey,I just wanna know WHY! =============================

Share this post


Link to post
Share on other sites