How do I get the logged on user's display name into Home Page or any web part?Does anyone know how can i do this?
I guessSPContext.current.web.currentuser will give the SPUser object. you can get thename from this object.