WindowsSecurityContext DomainName Property | Apache log4net™ SDK Documentation

Gets or sets the Windows domain name for this security context

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

C#
VB
C++
F#
Copy

    public string DomainName { get; set; }

    Public Property DomainName As String
    	Get
    	Set

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

    member DomainName : string with get, set

#### Property Value

Type: String
The Windows domain name for this security context
Remarks

The default value for DomainName is the local machine name taken from the MachineName property.

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

See Also

#### Reference

WindowsSecurityContext Class
log4net.Util Namespace