I Developed ASP.NET application(3 Tier). Now the client requirement is, My application should open with the Window credential(Now i have changed application user credential and Window user credential same).
Can anyone please guide me how to proceed , i mean. When user opens my application it should not ask the credential, it should take from windows credential.
Thanks in advance

Iftikar HussainPosted Jun 20, 2013, 6:37 AM
When you are using Windows Authentication, then you no need to require to validate password. You can only validate the current user against your database. In your main page (you can check in basepage also), get current user id by using active directory and then query against your table. if the user is exist then allow him to proceed else redirect to access denied/any error message page.
Please let me know if you need still more information.
Regards,
Iftikar
Remember to click "Mark as Answer" on the post, if it helps you.
Suthish NairPosted Mar 27, 2013, 6:25 AM
Farooque AliPosted Mar 27, 2013, 5:33 AM
Thanks, Ok based on your reply we are getting user information. Then what about login validation all
Here i am passing the username and Password argument to DAL, from their am getting result, Now without password how this will validation.
Can you please explain this by providing some sample,
Here am code for passing uname and pwd ,
Dim res As LoginResult = BLL.EngineFactory.LoginEngine.DoLogin(Me.UName.Text, Me.UPass.Text, "")
Suthish NairPosted Mar 27, 2013, 5:19 AM
No need to do a password validation, because always valid AD user can access the system.