OriginalPostID-83588
Discussion posts and replies are publicly visible
These functions gives the email instead of the username
siramsuryakumar said:These functions gives the email instead of the username
This is not correct. What leads you to believe this?
This happens only when you create a username with the email-Id. When you create users from the admin console you can give a non-emailid usernames. The loggedinuser() function will return whatever username you have given.