Password Property

log4net SDK Reference |

# WindowsSecurityContext.Password Property

Sets the password for the Windows account specified by the UserName and DomainName properties.

[Visual Basic]
Public Property Password As String
[C#]
public string Password {set;}

#### Property Value

The password for the Windows account specified by the UserName and DomainName properties.

#### Remarks

This property must be set if Credentials is set to User (the default setting).

#### See Also

WindowsSecurityContext Class | log4net.Util Namespace