Archived

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

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

This topic is 6020 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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