M
Mark
hi,
i'm trying to write out the currently logged on user with the
following code, however it doesn't write anything when run in the
browser.
any ideas?
thanks,
-----------------------------------------------------
public string test = "";
private void Page_Load(object sender, System.EventArgs e)
{
test += User.Identity.Name;
test += WindowsIdentity.GetCurrent().Name + " is the user";
}
i'm trying to write out the currently logged on user with the
following code, however it doesn't write anything when run in the
browser.
any ideas?
thanks,
-----------------------------------------------------
public string test = "";
private void Page_Load(object sender, System.EventArgs e)
{
test += User.Identity.Name;
test += WindowsIdentity.GetCurrent().Name + " is the user";
}