Partilhar via


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)
Available in Sandboxed Solutions: No

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