Application Express User's Guide > Oracle Application Express ... > HTMLDB_UTIL > IS_LOGIN_PASSWORD...
IS_LOGIN_PASSWORD_VALID Function |
Previous |
Next |
This function returns a Boolean result based on the validity of the password for a named user account in the current workspace. This function returns true if the password matches and it returns false if the password does not match.
Syntax
HTMLDB_UTIL.IS_LOGIN_PASSWORD_VALID( p_username IN VARCHAR2, p_password IN VARCHAR2); RETURN BOOLEAN;
Parameters
Table: IS_LOGIN_PASSWORD_VALID Parameters describes the parameters available in the IS_LOGIN_PASSWORD_VALID
function.
IS_LOGIN_PASSWORD_VALID Parameters
Parameter | Description |
---|---|
|
User name in account |
|
Password to be compared with password stored in the account |
Example
DECLARE VAL BOOLEAN; BEGIN VAL := HTMLDB_UTIL. IS_LOGIN_PASSWORD_VALID ( p_username=>'SCOTT' p_password=>'tiger'); END;