How can i retrieve the username of the person logged in via a Custom MOSS 2007Webpart?. i need to use this in a LINQ to SQL query.I am using WSPBuilder for this.
SPContext.Current.Web.CurrentUser.LoginName