- Feb 13, 2003
- 26,256
- 406
- 126
Well I have an update. As it turns out, I won't need the user's password. Just whatever username they used to log into the machine with.
The problem is getting. The code I wrote so far only gets the ASPNET account, and when I turn Impersonate on, I get IUSR_<machinename>. But what I need is the actual username that the current user is logged on with (for example, ACarlson for me on this machine).
Is that possible? I sort of need it explicitly (as a String) because the validation checks that String against a local database and/or Active Directory.
Any help would be greatly appeciated.
The problem is getting. The code I wrote so far only gets the ASPNET account, and when I turn Impersonate on, I get IUSR_<machinename>. But what I need is the actual username that the current user is logged on with (for example, ACarlson for me on this machine).
Is that possible? I sort of need it explicitly (as a String) because the validation checks that String against a local database and/or Active Directory.
Any help would be greatly appeciated.
