System.Web
2.0.0.0
System.Configuration.ConfigurationElement
The class provides a way to programmatically access and modify the user section of a configuration file.
This type is part of a group that includes the , the , and the types. The types other than the collection type directly affect the underlying configuration tags.
The can write information into the related section of the configuration file at machine, site, or application level only. Any attempt to write in a configuration file at a different level in the hierarchy will result in an error message generated by the parser. However, you can use this class to read configuration information at any level in the hierarchy. For safety and scalability, it is recommended that you use an external repository, such as a database, to keep the users' credentials.
Configures the user's credentials for Web applications that use forms-based authentication.
Constructor
This constructor creates a object using the passed parameters.
Initializes a new instance of the class using the passed parameters.
User's name.
User's password.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)
System.ComponentModel.TypeConverter(typeof(System.Web.Configuration.LowerCaseStringConverter))
System.Configuration.StringValidator
System.String
To be added.
To be added.
Gets or sets the logon user name.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("password", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)
System.Configuration.StringValidator
System.String
To be added.
To be added.
Gets or sets the user's password.
2.0.0.0
Property
System.Configuration.ConfigurationPropertyCollection
To be added.
This property is for internal use only. If you define your own custom section, you must implement a similar method.
Specifies the collection of properties
2.0.0.0