ProcessModelSection.Password Property

 

Gets or sets a value indicating the password to use for the Windows identity.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("password", DefaultValue := "AutoGenerate")>
Public Property Password As String

Property Value

Type: System.String

The password to use. The default value is AutoGenerate.

The Password property must be used with the UserName property.

When present, these property values cause the worker process to run with the configured Windows identity.

The following code example shows how to access the Password property.

' Get the current Password property value.
   Dim password As String = _
   processModelSection.Password

' Set the Password property to "CUPassword".
processModelSection.Password = "CUPassword"

.NET Framework
Available since 2.0
Return to top
Show: