M
Magnus Blomberg
Hello!
I am trying to write a simple aspx page with You are logged on as <% getuser(); %> in the body text.
In my code-behind I write (for test:
public String getuser()
{
String s = Environment.UserDomainName + "\\" + Environment.UserName;
return "testing"; // s;
}
Nothing is returned. Why?!?! What should I do instead?
Regards Magnus
I am trying to write a simple aspx page with You are logged on as <% getuser(); %> in the body text.
In my code-behind I write (for test:
public String getuser()
{
String s = Environment.UserDomainName + "\\" + Environment.UserName;
return "testing"; // s;
}
Nothing is returned. Why?!?! What should I do instead?
Regards Magnus