Partager via


AppPoolIdentityType

The AppPoolIdentityType property allows application pools to run as a specific user account, identified by the numbers in the table below.

Constant

Value

Description

MD_APPPOOL_IDENTITY_TYPE_LOCALSYSTEM

0

The application pool runs as NT AUTHORITY\SYSTEM.

MD_APPPOOL_IDENTITY_TYPE_LOCALSERVICE

1

The application pool runs as NT AUTHORITY\LOCAL SERVICE.

MD_APPPOOL_IDENTITY_TYPE_NETWORKSERVICE

2

The application pool runs as NT AUTHORITY\NETWORK SERVICE.

MD_APPPOOL_IDENTITY_TYPE_SPECIFICUSER

3

The application pool runs as a specific user account, defined by the WAMUserName metabase property.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

2

Internal Default

2

Upper Bound

3

Lower Bound

Not specified

Internal ID

9021

Friendly ID

MD_APPPOOL_IDENTITY_TYPE

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

Configurable Locations

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

Metabase Path

IIS Admin Object Type

/LM/W3SVC/AppPools/application_pool_name

IIsApplicationPool

/LM/W3SVC/AppPools

IIsApplicationPools

Flags

There are no flags for this property.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also