This function will return the name associated with the current user.
If you just want the current user ID, use curUserId()
XUserInfo::find(false, curUserId()).name;
This function will return the name associated with the current user.
If you just want the current user ID, use curUserId()
XUserInfo::find(false, curUserId()).name;