SshSession.ChangePassword Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9313)
ChangePassword(String, String, String)
Changes the specified user's password on the SSH server and authenticates.
Declaration
public SshPasswordChangeResult ChangePassword(string userName, string oldPassword, string newPassword)
Parameters
| Type | Name | Description |
|---|---|---|
| String | userName | Username. |
| String | oldPassword | Old password. |
| String | newPassword | New password. |
Returns
| Type | Description |
|---|---|
| SshPasswordChangeResult | Password change result. |