J
jason via DotNetMonster.com
i am planning to add something that can capture the windows username in it
and then i will save it to my database for further refference
but how will the coding look like?
i am new in asp.net so.. any idea?
as far as i noe.. this line of code is to show the pc name right?
Dim a As String = Environment.UserDomainName
then how about showing the windows user name?
... Dim hostName As String = Dns.GetHostName()
this one?
but there is an error asking me to declare the dns..? waht should i declare?
should this code works?
thanks..
and then i will save it to my database for further refference
but how will the coding look like?
i am new in asp.net so.. any idea?
as far as i noe.. this line of code is to show the pc name right?
Dim a As String = Environment.UserDomainName
then how about showing the windows user name?
... Dim hostName As String = Dns.GetHostName()
this one?
but there is an error asking me to declare the dns..? waht should i declare?
should this code works?
thanks..