The SetPassword method accepts the following input
parameters.
Input Argument |
Required |
Description |
Username |
No |
The SQL user name. |
NewPassword |
No |
The new password for the user. |
ServerName |
No |
The name of the SQL Server. |
SQLUserName |
No |
The SQL user name for connecting to the database server. |
SQLUserPass |
No |
The password for connecting to the database server. |
SendCredentials |
No |
True/False: embed basic authentication credentials in the MPF
request. |
ErrorReturn |
No |
Out parameter containing the error (if any) thrown by MPF
during the processing of the request. |
The SetPassword method has the following return values.
Output Argument |
Description |
True |
If the method succeeds. |
False |
If the method fails to set the password for a SQL account. |