Consultor Eletrônico



Kbase P100697: How to change the password from the _user table within ADM2
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/11/2005
Status: Unverified

GOAL:

How to change the password from the _user table within ADM2

GOAL:

How to use smart objects to change database security.

FIX:

Create a smartviewer with _Userid and _Password fields, linked with a SmartPanel.
In the SDO which is created against the _user table, create a new procedure called "_PasswordValidate", and add the following code:

DEFINE INPUT PARAMETER pcName AS CHARACTER NO-UNDO.
RowObject._Password = ENCODE(RowObject._Password).