1 Reply Latest reply: May 13, 2013 1:18 PM by SridharN RSS

    Get Windows user name in APEX

    SridharN
      Hi, I am following this blog by Jason for doing NTLM authentication.
      http://jastraub.blogspot.com/2008/03/ntlm-http-authentication-and.html

      Initially the page sentry was satisfying the condition
      if utl_raw.cast_to_binary_integer(utl_raw.substr(l_raw,14,1)) != 130 then

      I applied the registry fix mentioned in blog http://ppalakollu.blogspot.com/2009/04/ie-8-ntlm-authentication-on-windows.html

      Now the page sentry function always satisfies this condition and returns nobody as user. If comment this condition out it gives user as '\'
      if utl_raw.cast_to_binary_integer(utl_raw.substr(l_raw,9,1)) = 1 then

      Is this solution still valid? Can it be used for client with Windows 7? Does latest version of APEX has anything builtin now.

      Our environment
      Oracle 10g
      Oracle HTTP server
      Apex 4.1
      Windows 7
        • 1. Re: Get Windows user name in APEX
          SridharN
          Dear Experts, no one has any input on this?

          --Sridhar