I am new to C# and the syntax is killing me. I need to retrieve the users network ID from the codebehind and display it on the web page.
The codebehind is as follows:
protected string UserIDtxt;
public string getUserID
UserIDtxt = Environment.UserName.ToString()
I get the error: A get or set accessor is expected.
The web page code is <%= getUserID%>