SetPassword

This method sets or updates the password on the OracleCredential instance.

Declaration

// C#
public void SetPassword(OracleOpaqueString opaquePassword)

Parameters

  • opaquePassword

    new user password

Exceptions

Throws ORA-50129 if user id is not set on the OracleCredential.

Throws ArgumentNullException if opaquePassword is null.

Throws ArgumentExcpetion if password has length of 0.

Throws ORA-50128 if opaquePassword is not read only.

Remarks

This method cannot update the database user's password.