How to get client user name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthi84
    Contributor
    • Dec 2006
    • 270

    How to get client user name

    Hi,
    I need to get the user name of the client machine from where the site is accessed. Is there any way to do this without using any ActiveX components.

    Thanks & Regards
    Karthi
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    not that I know of

    Originally posted by karthi84
    get the user name of the client machine from where the site is accessed
    I consider that a security breach.

    Comment

    • karthi84
      Contributor
      • Dec 2006
      • 270

      #3
      hi Dormilich,
      My application is an intranet application in which i need to get the client machines username to generate menus based on the access level he is having. Here i can get the access level to this user by cross mapping this user name with a roles table. so is there any way to get the user name.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        If it's an intranet application and you have more control, why not use ActiveX or an alternative?

        Even better, use a server-side language with user/admin login, to create different menus.

        Comment

        Working...