I am using ASP.NET 4.0 WebApplication project
The following will save user name to my current.profile
System.Web.HttpContext.Current.Profile["UserName"] = userName
I would like to add a new profile named Company with the value 'MyCompany' to all users. It should be somthing like that:
for all users....
{
System.Web.HttpContext["SpecificUser"].Profile["Company"] = "MyCompany"
}
How can i do it?