This is why plugins are for! You need a special plugin to do so and off course the user must be logged in to know his name. Can you provide more details on how you want this to work?