Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Retreive logged in username in Custom MOSS 2007 webpart

  Asked By: Arielle    Date: Aug 09    Category: MOSS    Views: 946

How can i retrieve the username of the person logged in via a Custom MOSS 2007
Webpart?. i need to use this in a LINQ to SQL query.

I am using WSPBuilder for this.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Amanda Lewis     Answered On: Aug 09

SPContext.Current.Web.CurrentUser.LoginName

 
Didn't find what you were looking for? Find more on Retreive logged in username in Custom MOSS 2007 webpart Or get search suggestion and latest updates.




Tagged: