Initializes a new instance of the AlternateWindowsAuthSettings class and populates the properties from the given parameters.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public AlternateWindowsAuthSettings(
	string domainName,
	string userName,
	SecureString password,
	WindowsAuthProtocols protocols
)
Visual Basic
Public Sub New ( _
	domainName As String, _
	userName As String, _
	password As SecureString, _
	protocols As WindowsAuthProtocols _
)

Parameters

domainName
Type: System..::..String
Name of the domain to which the user belongs.
userName
Type: System..::..String
Name of the Windows user.
password
Type: System.Security..::..SecureString
The password.
protocols
Type: ININ.IceLib.Connection..::..WindowsAuthProtocols
The Windows authentication protocols to use.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter was nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionAn invalid value was specified as part of the protocol flags.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.

See Also