See Also: FormsAuthenticationUser Members
The System.Web.Configuration.FormsAuthenticationUser 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 System.Web.Configuration.FormsAuthenticationCredentials, the System.Web.Configuration.FormsAuthenticationUserCollection, and the System.Web.Configuration.FormsAuthenticationConfiguration types. The types other than the collection type directly affect the underlying configuration tags.
The System.Web.Configuration.FormsAuthenticationUser 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.