|
Dieser Artikel wurde maschinell übersetzt. Bewegen Sie den Mauszeiger über die Sätze im Artikel, um den Originaltext anzuzeigen. Weitere Informationen
|
Übersetzung
Original
|
AuthenticationSection-Klasse
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationSection
System.Web.Configuration.AuthenticationSection
Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Der AuthenticationSection-Typ macht die folgenden Member verfügbar.
| Name | Beschreibung | |
|---|---|---|
![]() | AuthenticationSection | Infrastruktur. |
| Name | Beschreibung | |
|---|---|---|
![]() | CurrentConfiguration | |
![]() | ElementInformation | |
![]() | ElementProperty | |
![]() | Forms | |
![]() | Item[ConfigurationProperty] | |
![]() | Item[String] | |
![]() | LockAllAttributesExcept | |
![]() | LockAllElementsExcept | |
![]() | LockAttributes | |
![]() | LockElements | |
![]() | LockItem | |
![]() | Mode | |
![]() | Passport | Veraltet. |
![]() | Properties | |
![]() | SectionInformation |
| Name | Beschreibung | |
|---|---|---|
![]() | DeserializeElement | |
![]() | DeserializeSection | Infrastruktur. |
![]() | Equals | |
![]() | GetHashCode | |
![]() | GetRuntimeObject | |
![]() | GetType | |
![]() | Init | |
![]() | InitializeDefault | |
![]() | IsModified | |
![]() | IsReadOnly | |
![]() | Reset | |
![]() | ResetModified | |
![]() | SerializeElement | |
![]() | SerializeSection | Infrastruktur. |
![]() | SerializeToXmlElement | |
![]() | SetReadOnly | |
![]() | ShouldSerializeElementInTargetVersion | |
![]() | ShouldSerializePropertyInTargetVersion | |
![]() | ShouldSerializeSectionInTargetVersion | |
![]() | ToString | |
![]() | Unmerge |
Hinweis |
|---|
Hinweis |
|---|
<authentication mode="Forms">
<forms name="MyAppCookieName" loginUrl="login.aspx">
<credentials passwordFormat="SHA1">
<user name="Kim"
password="07B7F3EE06F278DB966BE960E7CBBD103DF30CA6"/>
<user name="John"
password="BA56E5E0366D003E98EA1C7F04ABF8FCB3753889"/>
</credentials>
</forms>
</authentication>
// Get the Web application configuration.
System.Configuration.Configuration configuration =
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(
"/aspnetTest");
// Get the section.
AuthenticationSection authenticationSection =
(AuthenticationSection)configuration.GetSection(
"system.web/authentication");
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core-Rolle wird nicht unterstützt), Windows Server 2008 R2 (Server Core-Rolle wird mit SP1 oder höher unterstützt; Itanium wird nicht unterstützt)
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.
