Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Clears all authentication modules from the application.
<configuration>
<system.net>
<authenticationModules>
<clear>
<clear/>
Remarks
The <clear> element removes all authentication modules from the application that were defined earlier in the configuration file or at a higher level in the configuration hierarchy.
Example
The following example removes all configured authentication modules and then adds a custom authentication module.
<configuration>
<system.net>
<authenticationModules>
<clear/>
<add type="MyAuthModule.dll, MyAuthModule" />
</authenticationModules>
</system.net>
</configuration>
Configuration File
This element can be used in the application configuration file, the machine configuration file (Machine.config), and the publisher policy file.