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

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

Syntax

C#
public ProxyAlternateWindowsAuthSettings(
	string targetUserName,
	ProxyTargetUserType targetUserType,
	string domainName,
	string userName,
	string password,
	WindowsAuthProtocols protocols
)
Visual Basic
Public Sub New ( _
	targetUserName As String, _
	targetUserType As ProxyTargetUserType, _
	domainName As String, _
	userName As String, _
	password As String, _
	protocols As WindowsAuthProtocols _
)

Parameters

targetUserName
Type: System..::..String
The target user name.
targetUserType
Type: ININ.IceLib.Connection.Extensions..::..ProxyTargetUserType
The type of user the target user.
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..::..String
The password.
protocols
Type: ININ.IceLib.Connection..::..WindowsAuthProtocols
The Windows authentication protocols to use.

Remarks

When targetUserType is WindowsUser, targetUserName should follow the format of domain\user.

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 3 and beyond.

See Also