internal bool ChangePassword (string new_password, OciErrorHandle error) { if (!session.SetCredentialAttributes (error)) return false; byte[] ub = UnicodeToCharSet (session.Username byte[] opb = UnicodeToCharSet (session.Password); byte[] npb = UnicodeToCharSet (new_password); int status = OciCalls.OCIPasswordChange (this, error, ub, ub.Length, opb, opb.Length, npb, npb.Length, OCI_AUTH); if (status == 0) { session.Password = new_password; return true; } return false; }