Currentuser that send a form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dax

    Currentuser that send a form

    Hi,
    how can Identify a domain user that send a form made with ASP.
    I have see that exist a variable called currentuser, but what does it
    mean?

    Thanks in advance,
    Dax

  • Slim

    #2
    Re: Currentuser that send a form


    "Dax" <praeclarus@lib ero.it> wrote in message
    news:1142867517 .363410.164140@ i40g2000cwc.goo glegroups.com.. .[color=blue]
    > Hi,
    > how can Identify a domain user that send a form made with ASP.
    > I have see that exist a variable called currentuser, but what does it
    > mean?
    >[/color]

    try

    Request.ServerV ariables("AUTH_ USER")

    [color=blue]
    > Thanks in advance,
    > Dax
    >[/color]


    Comment

    • Dax

      #3
      Re: Currentuser that send a form

      If I create a program where in it it's written:
      dim user
      user=Request.Se rverVariables(" AUTH_USER")
      Response.Write( user)
      I print the correct name or I must written something else?
      Thanks for your interesting,

      Dax

      Comment

      • Bob Barrows [MVP]

        #4
        Re: Currentuser that send a form

        Dax wrote:[color=blue]
        > If I create a program where in it it's written:
        > dim user
        > user=Request.Se rverVariables(" AUTH_USER")
        > Response.Write( user)
        > I print the correct name or I must written something else?
        > Thanks for your interesting,
        >
        > Dax[/color]

        I generally use "LOGON_USER " instead of "AUTH_USER"
        This ServerVariable will only contain a value if Anonymous access is
        disabled for your website.

        --
        Microsoft MVP -- ASP/ASP.NET
        Please reply to the newsgroup. The email account listed in my From
        header is my spam trap, so I don't check it very often. You will get a
        quicker response by posting to the newsgroup.


        Comment

        • Dax

          #5
          Re: Currentuser that send a form

          Yes but how can I "put" my name inside that variable (LOGON_USER)? I
          must click on a logon button?

          Thanks in advance

          Comment

          • Bob Barrows [MVP]

            #6
            Re: Currentuser that send a form

            Dax wrote:[color=blue]
            > Yes but how can I "put" my name inside that variable (LOGON_USER)? I
            > must click on a logon button?
            >[/color]
            Please quote the message to which you are replying so I don't have to go
            back and read the previous messages in the thread.

            Anyways, that variable is automatically populated if you have Anonymous
            access turned off on your site. There is no need for you to do anything else
            to put anything into it.

            --
            Microsoft MVP - ASP/ASP.NET
            Please reply to the newsgroup. This email account is my spam trap so I
            don't check it very often. If you must reply off-line, then remove the
            "NO SPAM"


            Comment

            Working...