Friday, April 1, 2011

display the current user Name

1) The following code is used to display the current user Name .

display Name userName()
{
return XUserInfo::find(false, curuserid()).Name;
}

No comments: