Export (0) Print
Expand All
Expand Minimize

AuthorizationSection Class [IIS 7 and higher]

IIS 7.0

Configures authorization for access to URLs.

class AuthorizationSection : ConfigurationSectionWithCollection

The following table lists the methods exposed by the AuthorizationSection class.

Name

Description

Add

(Inherited from ConfigurationSectionWithCollection.)

Clear

(Inherited from ConfigurationSectionWithCollection.)

Get

(Inherited from ConfigurationSectionWithCollection.)

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

Remove

(Inherited from ConfigurationSectionWithCollection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

The following table lists the properties exposed by the AuthorizationSection class.

Name

Description

Authorization

An array of AuthorizationRule values that specify access to URLs based on roles, users, and verbs.

BypassLoginPages

A read/write boolean value. true if URL authorization reads the IS_LOGIN_PAGE server variable and skips authorization checks; otherwise, false. The default is true.

Location

(Inherited from ConfigurationSection.) A key property.

Path

(Inherited from ConfigurationSection.) A key property.

SectionInformation

(Inherited from ConfigurationSection.)

This class contains no subclasses.

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2014 Microsoft