Initializes a new instance of the ProxyWindowsAuthSettings class specifying the target user name and target user type.

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

Syntax

C#
public ProxyWindowsAuthSettings(
	string targetUserName,
	ProxyTargetUserType targetUserType
)
Visual Basic
Public Sub New ( _
	targetUserName As String, _
	targetUserType As ProxyTargetUserType _
)

Parameters

targetUserName
Type: System..::..String
The target user name.
targetUserType
Type: ININ.IceLib.Connection.Extensions..::..ProxyTargetUserType
The type of user the target user.

Remarks

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

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionThe specified targetUserType is not from the ProxyTargetUserType enumeration.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 SU 11 and beyond.

See Also