SPWebApplicationBuilder.ApplicationPoolUsername property

Gets or sets the user name for the new application pool that is used by the Web application.

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

Syntax

'Declaration
Public Property ApplicationPoolUsername As String
    Get
    Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As String

value = instance.ApplicationPoolUsername

instance.ApplicationPoolUsername = value
public string ApplicationPoolUsername { get; set; }

Property value

Type: System.String
A string that contains the user name in the form "DOMAIN\UserAlias".

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace