Hi
I am trying to get the Windows username and PC name from the client PC
in VB or c#.
I am using 'forms' authentication and 'anonymous access' in IIS. Is it
possible to get the client PC's windows username and Computer Name
whilst using this combination?
Access levels to various pages are stored in an SQL Server table
against their Windows Login Name, which is why I use 'forms'
authentication. The site currently runs accross two domains and may go
external in the future, so I don't want to move away from forms
authentication. The data would be useful for me for logging and so that
Intranet Users don't have to type their user name every time they log
on.
Is there some client-side script that can do this? I have tried using
API's, System.Security and User.Identity to no avail. I can only get as
far as the Server IIS logon name.
Any suggestions would be appreciated.
Thanks
Jared