Initializes a new instance of the ProxyWindowsAuthSettings class, designating which protocols should be used as well as the target user name and type of target user.

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(
	WindowsAuthProtocols protocolFlags,
	string targetUserName,
	ProxyTargetUserType targetUserType
)
Visual Basic
Public Sub New ( _
	protocolFlags As WindowsAuthProtocols, _
	targetUserName As String, _
	targetUserType As ProxyTargetUserType _
)

Parameters

protocolFlags
Type: ININ.IceLib.Connection..::..WindowsAuthProtocols
Flags to indicate which protocols should be used.
targetUserName
Type: System..::..String
The target user name.
targetUserType
Type: ININ.IceLib.Connection.Extensions..::..ProxyTargetUserType
The type of user the target user is.

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 protocols is not from the WindowsAuthProtocols enumeration.
System..::..ArgumentOutOfRangeExceptionThe target user type 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