Determine User Name at Runtime
I am writing an intranet application which has a welcome screen which needs to determine the user name of the person logged into the computer accessing the site.
What .net technology do I need to use.
DirectoryServices? (That only lets me manipulate the Active Directory, not determine the current logged in user.)
Environment.UserName? (That only returns the user who started the current process which is an IIS account, not the logged in user.)
Any help? I'd really appreciate it.
David Garner
|