Welcome! Log In Create A New Profile


[WB24] AD Authentification

Posted by Michael Drechsel 
[WB24] AD Authentification
February 14, 2020 02:59PM

is there any way to read the windows credetials of the current user in a browser to auth against a Active Directory ?

The users of my website should be able to login without typing the password twice.

regards Michael
Peter Holemans
Re: [WB24] AD Authentification
February 15, 2020 12:32PM
Hi Michael,

Yes there is but it needs to be managed on the IIS side.
Make sure in IIS your website is using AD Authentication (Windows/Kerberos/Negotiate).
This will require the user to authenticate against the AD domain when going to your website.
Next the browser will propose to save these credentials and as-of then there is an automatic sign-on (until the user e.g. had to change is AD password).On the W-Language server side code you can get the AD user name related to the session (But I don't know the command by heart).


Peter Holemans
Re: [WB24] AD Authentification
February 15, 2020 05:38PM
Hi Peter,

thx a lot.

This already helps me to put it right.

regards Michael

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.