Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

webpart to show current windows user

  Asked By: Vaughn Morin         Date: Apr 27, 2005      Category: Sharepoint      Views: 337
 

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.

Tagged:            

 

3 Answers Found

 
Answer #1       Answered By: M Juarez          Answered On: Apr 27, 2005       

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.

 
Answer #2       Answered By: Marty Mcdowell          Answered On: Apr 27, 2005       

I've made one a couple of months ago. It's quite easy
to code it extracting the user  data by using the SPS
UserProfiles. All other data, such as email etc, is
also available from there. But again, you need
impersonation for that.

 
Answer #3       Answered By: Dakota Shaffer          Answered On: Apr 27, 2005       

I’ve loaded it recently and the webpart  to display the user  name was in it!

 
Didn't find what you were looking for? Find more on webpart to show current windows user Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].