AzImpersonationLevel Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AzImpersonationLevel property determines the impersonation behavior for the application, allowing the Web application to be configured to impersonate the client user, the IIS worker process, or the IUSER_* account for the worker process.

Note

Take care in setting this value, as each setting significantly changes the environment and implied design of the Web application.

Impersonation Level Numeric value of the Field

Client User

0

IIS Worker Process

1

IUSER_*

2

Attribute Name Attribute Value

Attribute Name

Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_URL_AUTHORIZATION_IMPERSONATION_LEVEL

Attributes

INHERIT

Default Value

0

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_FILE

ID

6053

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.