WindowsSecurityContext Password Property | Apache log4net™ SDK Documentation

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

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public string Password { set; }

    Public WriteOnly Property Password As String
    	Set

    public:
    property String^ Password {
    	void set (String^ value);
    }

    member Password : string with set

#### Property Value

Type: String
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

#### Reference

WindowsSecurityContext Class
log4net.Util Namespace