of_settransid


vg_security.pbl   >   vg_n_cst_vgmanager   >   of_settransid   

Full name vg_n_cst_vgmanager.of_settransid
Access public
Extend of integer
Return value integer
Prototype public function integer of_settransid(transaction,readonly string,readonly string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_settransid (transaction atr_trans, readonly string as_userid, readonly string as_password);/*_____________________________________________________________________________
Description	:	Sets the userid and the password of the Transaction object. 

Usage			:	Sets the specific database userid and password.
ODBC : Sets the userid and the password included in dbparm and the userid and dbpass.
ORACLE, SYBASE, MSSQLSERVER : Sets the logid and logpass.
INFORMIX : Sets the userid and dbpass.


Argument		:	atr_trans : a reference to the transaction object.
					string as_userid : a string containing the userid.
					string as_pwd	 : a string containing the userid.

Return		:	Returns 1 if the function succeeds and -1 if an error occurs.
History		:	
					V7.50 - HC  - 08/06/2000 - Initial version
_____________________________________________________________________________*/

IF IsNull (atr_trans) or Not IsValid (atr_trans) or IsNull (as_userid) or IsNull (as_password) THEN return -1

vg_f_set_transaction_id (atr_trans, as_userid, as_password)

Return 1
end function

     
Name Owner
n_cst_appmanager.pfc_logon n_cst_appmanager

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
vg_f_set_transaction_id.vg_f_set_transaction_id vg_f_set_transaction_id

     
Full name
No Data

     
Name Scope
No Data