Results 1 to 7 of 7

Thread: Windows account

  1. #1
    Join Date
    Feb 2009
    Posts
    17

    Default Windows account

    Hi People,


    How could I know what the Windows account (client) that the user is logged into?




    Best Regards,
    Flavio da Costa Figueiredo
    Data Access Latin America

  2. #2
    Join Date
    Feb 2009
    Location
    Somewhere in Vermont, USA - unless I'm not
    Posts
    11,085

    Default Re: Windows account

    Look at Network_User_Name in DFAbout.pkg
    Garret

    Time for an oldie but goodie:

    "If it ain't broke, you're not trying." - Red Green

  3. #3
    Join Date
    Feb 2009
    Posts
    17

    Default Re: Windows account

    Quote Originally Posted by Garret Mott View Post
    Look at Network_User_Name in DFAbout.pkg
    Sorry, but my application is web and I need to know how who is the user logged on windows client and not on server

    Regards,
    Flavio da Costa Figueiredo
    Data Access Latin America

  4. #4
    Join Date
    Feb 2009
    Location
    Hengelo, Netherlands
    Posts
    10,869

    Default Re: Windows account

    Flavio,

    Google on getting the user name via Javascript. I quickly found: http://stackoverflow.com/questions/2...ith-javascript
    Regards,
    Data Access Worldwide
    Vincent Oorsprong

  5. #5
    Join Date
    Feb 2009
    Location
    West Yorkshire - UK
    Posts
    928

    Default Re: Windows account

    As stated in the link, this is a security risk, so it's unlikely that you'll be able to get to it. Even if you find something on your current browser, odds are that it'll change.

    Would the current Google Username / Facebook name do instead?
    You could maybe use one of these services for login?

  6. #6
    Join Date
    Feb 2009
    Location
    Peoria, IL
    Posts
    5,491

    Default Re: Windows account

    This is going to be hard to do. As Sean says it is a security risk and it won't work for long. Authentication is a big subject. There is OATH which has implementation in Google and Facebook. There is also Microsoft's own version which is easier if you are using Office 365 using a SAML token and a webservice.

    I am hoping that DAW will take a serious look into providing some sort of authentication system in a future version. It makes sense with the Microsoft-centric products (web on IIS and VDF on Windows).
    Chuck Atkinson

    "No matter how confounding the case, Bob Worsley always finds the quaesitum."

  7. #7
    Join Date
    Jun 2011
    Location
    Switzerland
    Posts
    822

    Default Re: Windows account

    What about Windows Authentication using IIS?
    -> http://www.iis.net/configreference/s...authentication
    Might be worth a look... Tough I'm not sure which browser are supported.
    Currently working for transXpro (an online platform for a Swiss translation agency).
    Improved (unofficial) DataFlex Forum Search (now with SSL)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •