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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also