You can access any stored information, such as ConnectionStrings, AppSettings, and other specific values in web.config by the WebConfigurationManager class in the System.Web.Security namespace.
Let's say that you defined the authorization section and section as:
<system.web>
<authorization>
<allow roles="admin,moderator" />
<deny users="?" />
</authorization></system.web>
, , , , admin / , (), .
GetSection WebConfigurationManager
AuthorizationSection auth = WebConfigurationManager.GetSection("system.web/authorization") as AuthorizationSection;
AuthorizationSection
Rules, .