Clase1 AuthorizationSection
Configura la autorización para el acceso a las direcciones URL.
Sintaxis
class AuthorizationSection : ConfigurationSectionWithCollection
Métodos
En la tabla siguiente se enumeran los métodos que expone la clase AuthorizationSection
.
Nombre | Descripción |
---|---|
Add (Agregar) | (Se hereda de ConfigurationSectionWithCollection). |
Borrar | (Se hereda de ConfigurationSectionWithCollection ). |
Get | (Se hereda de ConfigurationSectionWithCollection ). |
GetAllowDefinition | (Se hereda de ConfigurationSection). |
GetAllowLocation | (Se hereda de ConfigurationSection ). |
Remove | (Se hereda de ConfigurationSectionWithCollection ). |
RevertToParent | (Se hereda de ConfigurationSection ). |
SetAllowDefinition | (Se hereda de ConfigurationSection ). |
SetAllowLocation | (Se hereda de ConfigurationSection ). |
Propiedades
La siguiente tabla muestra las propiedades que expone la clase AuthorizationSection
.
Nombre | Descripción |
---|---|
Authorization |
Una matriz de valores AuthorizationRule que especifican el acceso a direcciones URL basadas en roles, usuarios y verbos. |
BypassLoginPages |
Valor boolean de lectura y escritura. true si la autorización de dirección URL lee la variable del servidor IS_LOGIN_PAGE y omite las comprobaciones de autorización; de lo contrario, es false . El valor predeterminado es true . |
Location |
(Se hereda de ConfigurationSection ). Una propiedad clave. |
Path |
(Se hereda de ConfigurationSection ). Una propiedad clave. |
SectionInformation |
(Se hereda de ConfigurationSection ). |
Subclases
Esta clase no contiene subclases.
Jerarquía de herencia
ConfigurationSectionWithCollection
AuthorizationSection
Requisitos
Tipo | Descripción |
---|---|
Remoto | - IIS 7.0 en Windows Vista - IIS 7.5 en Windows 7 - IIS 8.0 en Windows 8 - IIS 10.0 en Windows 10 |
Server | - IIS 7.0 en Windows Server 2008 - IIS 7.5 en Windows Server 2008 R2 - IIS 8.0 en Windows Server 2012 - IIS 8.5 en Windows Server 2012 R2 - IIS 10.0 en Windows Server 2016 |
Producto | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
Archivo MOF | WebAdministration.mof |
Consulte también
Clase ConfigurationSectionWithCollection
Clase AuthorizationRule