AppPoolIdentityType Metabase Property (IIS 6.0)

The AppPoolIdentityType property allows application pools to run as LocalSystem, LocalService, NetworkService, or a specific user account. For the possible values to use in setting this property, see the Bitmask Values table below.

Attribute NameAttribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_APPPOOL_IDENTITY_TYPE

Attributes

INHERIT

Default Value

2

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

9021

Configurable Locations

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

Metabase PathIIS Admin Object Type

/LM/W3SVC/AppPools/DefaultAppPool /LM/W3SVC/AppPools/DefaultAppPool/application_pool_name

IIsApplicationPool

/LM/W3SVC/AppPools

IIsApplicationPools

Bitmask Values

ConstantValueDescription

MD_APPPOOL_IDENTITY_TYPE_LOCALSYSTEM

0x00000000

The application pool runs as LocalSystem.

MD_APPPOOL_IDENTITY_TYPE_LOCALSERVICE

0x00000001

The application pool runs as LocalService.

MD_APPPOOL_IDENTITY_TYPE_NETWORKSERVICE

0x00000002

The application pool runs as NetworkService.

MD_APPPOOL_IDENTITY_TYPE_SPECIFICUSER

0x00000003

The application pool runs as a specified user account.

Remarks

MD_ACR_RESTRICTED_WRITE enables write access to the following properties:

AdminACL Metabase Property

AppIsolated Metabase Property

Path Metabase Property

AccessFlags Metabase Property

AnonymousUserName Metabase Property

AnonymousUserPass Metabase Property

MaxBandwidth Metabase Property

MaxBandwidthBlocked Metabase Property

SecureBindings Metabase Property

ServerBindings Metabase Property

Code Example

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



© 2016 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies
Microsoft