of_gettransid


vg_security.pbl   >   vg_n_cst_vgmanager   >   of_gettransid   

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

Name Datatype
No Data

Name Datatype
No Data

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

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


Argument		:	atr_trans : a reference to the transaction object.
					string as_userid : a string in which the userid will be stored.
					string as_pwd	 : a string in which the password will be stored.

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) THEN return -1

vg_f_get_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_get_transaction_id.vg_f_get_transaction_id vg_f_get_transaction_id

     
Full name
No Data

     
Name Scope
No Data