Initializes a new instance of the AlternateWindowsAuthSettings class and populates
the properties from the given parameters.
Namespace: ININ.IceLib.ConnectionAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public AlternateWindowsAuthSettings( string domainName, string userName, string password, WindowsAuthProtocols protocols ) |
Visual Basic |
---|
Public Sub New ( _ domainName As String, _ userName As String, _ password As String, _ 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..::..String
The password.
- protocols
- Type: ININ.IceLib.Connection..::..WindowsAuthProtocols
The Windows authentication protocols to use.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter was nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentOutOfRangeException | An 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 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA 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 GA and beyond.