I've ASP.NET application with Windows Authentication.
How to get the username and password in ASP.NET from the form provided by Windows authentication method?
You can read the currently logged on user's username with:
string username = Request.LogonUserIdentity.Name;
But you can't capture the password. Why would you need to anyways? Authentication occurs before your page is executed, and the password is never sent down the wire;
In your IIS application for Dynamics, you need to enable Windows Authentication, you do this through IIS manager. Click the Dynamics IIS website, then select Authentication, make sure you disable Anonymous Authentication, and enable Windows Authentication.