ProfileBase.Create Method (String)
Used by ASP.NET to create an instance of a profile for the specified user name.
Assembly: System.Web (in System.Web.dll)
The enabled attribute of the section of the Web.config file is false.
The current hosting permission level is less than Medium.
A property type specified in the section of the Web.config file could not be created.
The allowAnonymous attribute for a property in the section of the Web.config file is set to true and the enabled attribute of the element is set to false.
The name of a provider specified using the provider attribute of a profile property could not be found in the Providers collection.
The type specified for a profile property could not be found.
A profile property was specified with a name that matches a property name on the base class specified in the inherits attribute of the section.
Themethod creates and initializes a new profile instance and is useful for applications that use a custom profile object or manage user profiles in a non-ASP.NET environment.
This overload of themethod assumes that the specified user name is an authenticated user.
Available since 2.0