Hi,I have a role provider, and this is how i wrote for my GetRolesForUser(string username), now the problem is on the wss page, on the top right corner, it shows Welcome "System Account" Instead of the logged in user. And I checked it, after RunWithElevatedPrivilage,
The CurrentUser is System Account,How can I make the welcome to show the current logged user?
public override string GetRolesForUser(string username)
//string s = ws.GetRolesForUser(username);
List<string> domainGroups = new List<string>();
var webContext = SPContext.Current.Web;
using (SPSite site = new SPSite(webContext.Site.ID))
//siteEval = site.OpenWeb(site.
View Complete Post