Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 4.37 KB

formsauthenticationuser-class.md

File metadata and controls

60 lines (47 loc) · 4.37 KB
title description ms.date ms.assetid
FormsAuthenticationUser Class
Configures user credentials for Web applications that use Forms authentication.
10/07/2016
2f57cdd1-9ec2-dc0b-7332-47cbca2b8f46

FormsAuthenticationUser Class

Configures user credentials for Web applications that use Forms authentication.

Syntax

class FormsAuthenticationUser : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the FormsAuthenticationUser class.

Name Description
Name A read-only string value that contains the logon user name that is required by the Web application. The key property.
Password A read/write string value that specifies the user password that is required by the Web application.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the Credentials property of the FormsAuthenticationCredentials class.

A FormsAuthenticationUser object can write information into the related section of the configuration file at computer, site, or application level only. Any attempt to write in a configuration file at a different level in the hierarchy will result in a parser-generated error message. However, you can use this class to read configuration information at any level in the hierarchy. For safety and scalability, you should use an external repository, such as a database, to keep user credentials.

Inheritance Hierarchy

CollectionElement

FormsAuthenticationUser

Requirements

Type Description
Client - [!INCLUDEiis70] on [!INCLUDEwinvista]
- [!INCLUDEiis75] on [!INCLUDEwin7]
- [!INCLUDEiis80] on [!INCLUDEwin8]
- [!INCLUDEiis100] on [!INCLUDEwin10]
Server - [!INCLUDEiis70] on [!INCLUDEwinsrv2008]
- [!INCLUDEiis75] on [!INCLUDEwinsrv2008r2]
- [!INCLUDEiis80] on [!INCLUDEwinsrv2012]
- [!INCLUDEiis85] on [!INCLUDEwinsrv2012r2]
- [!INCLUDEiis100] on [!INCLUDEwinsrv2016]
Product - [!INCLUDEiis70], [!INCLUDEiis75], [!INCLUDEiis80], [!INCLUDEiis85], [!INCLUDEiis100]
MOF file WebAdministration.mof

See Also

AnonymousAuthenticationSection Class
AuthenticationSection Class
BasicAuthenticationSection Class
ClientCertificateMappingAuthenticationSection Class
CollectionElement Class
DigestAuthenticationSection Class
FormsAuthenticationConfiguration Class
FormsAuthenticationCredentials Class
IisClientCertificateMappingAuthenticationSection Class
PassportAuthentication Class
WindowsAuthenticationSection Class