Reading User Access Level from ASP.NET web page

Last post 05-14-2007 3:11 AM by XiaoYong Dai – MSFT. 1 replies.

Sort Posts:

  • Reading User Access Level from ASP.NET web page

    05-10-2007, 12:37 PM
    • Member
      15 point Member
    • KingBugsy
    • Member since 02-02-2006, 5:31 AM
    • Posts 4
    Hello All,

    I am trying to figure out how I can read if the users has Administrative privledges on their local machine via ASP.NET 2.0. Specifically, I want to be able to say: "When the user/browser hits my aspx page and the user is logged in with admin rights on their local machine, do not display page x."

    I have been looking at "Registry members" like "HKEY_CURRENT_USER", and have been able to read the Subkeys associated with that KEY. But I have not been able to figure out how to see if the users is logged in with Admin rights.

    Any help or ideas GREATLY appreciated!

    KB
  • Re: Reading User Access Level from ASP.NET web page

    05-14-2007, 3:11 AM
    Answer
    KingBugsy:
    I am trying to figure out how I can read if the users has Administrative privledges on their local machine via ASP.NET 2.0.

    I'm afraid you cannot do this using ASP.NET,

    It's outside area of servser side programming.

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)