| ||||||||||||||||||||||||||||||||
IdentitySection ClassSystem.Web.Configuration Namespace .NET Framework version 2.0 Configures the identity of a Web application. This class cannot be inherited.
|
||||||||||||||||||||||||||||||||
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| protected | GetRuntimeObject | ( ) | Object |
| protected | Reset | ( ConfigurationElement parentElement ) | Void |
| protected | Unmerge | ( ConfigurationElement sourceElement , ConfigurationElement parentElement , ConfigurationSaveMode saveMode ) | Void |
The IdentitySection provides a way to programmatically access and modify the identity section of a configuration file.
NOTE: The IdentitySection can read and write information from and to the related section of the configuration file according to the section property AllowDefinition whose value is Everywhere.
The following code example shows how to obtain the IdentitySection object from the configuration file of an existing Web application.
// Get the Web application configuration. System.Configuration.Configuration configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration ( "/aspnetTest" ); // Get the section. System.Web.Configuration.IdentitySection identitySection = ( System.Web.Configuration.IdentitySection)configuration.GetSection ( "system.web/identity" ); | ||
| C# | VB | |
ASP.NET Configuration <identity> Section
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme