Does anyone have a webpart that would show the current windows user?It would make development a bit easier if I could drop it here and there so I’d always know the security context when using test accounts.
At weblogs.asp.net/jan/archive/2004/03/11/88118.aspx, Lead-It Essentials has Navigation, MyAlerts, Breadcrumbs, and WhatsNew webparts, but none of them really show the current user’s account name.
I've made one a couple of months ago. It's quite easyto code it extracting the user data by using the SPSUserProfiles. All other data, such as email etc, isalso available from there. But again, you needimpersonation for that.
I’ve loaded it recently and the webpart to display the user name was in it!