In my web application, I need to display the username who is currently logged in the system. Am having a Text-box and a Button in my form. Example : If the user "Admin" is currently logged in and using the (Local)system. Once I clicked the button the name Admin has to be displayed in the Text-box.
Get the local system's user name
807 Views Asked by Elango_Thanumalayan At
2
Please try below code for getting current username