title: Get current logged user in Sharepoint 2010
body: <p>I have a web part that shows me a survey. I need to get the current user so that I can hide or show certain information for the survey depending on the current user's permissions.</p>