dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / ChangePassword Method / ChangePassword(String) Method
The new password.

In This Topic
    ChangePassword(String) Method
    In This Topic
    Changes the password for the specified user.
    Syntax
    'Declaration
     
    Public Overloads Sub ChangePassword( _
       ByVal newPassword As String _
    ) 
    public void ChangePassword( 
       string newPassword
    )

    Parameters

    newPassword
    The new password.
    Remarks

    Use the ChangePassword method to change user's password if the current password is obsolete. If a session is not opened the ChangePassword method opens the session automatically with username and password specified at UserId and Password properties.

    For OCI mode connections, the Oracle Client version must be the same as the Oracle server version.

    See Also