Creates a new SshGssApiCredentials instance and initializes it with the specified credentials.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ userName As String, _ password As String, _ domain As String _ ) |
C# |
---|
public SshGssApiCredentials( string userName, string password, string domain ) |
Parameters
- userName
- Type: System..::..String
The user name. If it is set to null ('Nothing' in VB.NET), integrated authentication (single sign-on) will be used.
- password
- Type: System..::..String
User's password.
- domain
- Type: System..::..String
User's domain. If it is set to null ('Nothing' in VB.NET), it will be determined from the user name. If not available, the default domain will be used.