How to get name of user?

The question is not clear enough. Please elaborate.