共用方式為


IdentityType Enumeration

Specifies the process identity type used by a Web application.

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.dll)

Syntax

'Declaration
Public Enumeration IdentityType
'Usage
Dim instance As IdentityType
public enum IdentityType

Members

Member name Description
LocalSystem The application pool runs as NT AUTHORITY\SYSTEM. Value = 0.
LocalService The application pool runs as NT AUTHORITY\LOCAL SERVICE. Value = 1.
NetworkService The application pool runs as NT AUTHORITY\NETWORK SERVICE. Value = 2.
SpecificUser The application pool runs as a specific user account as defined by the WAMUserName property of the IIS configuration store. Value = 3.

See Also

Reference

Microsoft.SharePoint.AdministrationOperation Namespace