of_setrestoreuser


pfcapsrv.pbl   >   pfc_n_cst_apppreference   >   of_setrestoreuser   

Full name pfc_n_cst_apppreference.of_setrestoreuser
Access public
Extend of integer
Return value integer
Prototype public function integer of_setrestoreuser(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setrestoreuser (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetRestoreUser
//
//	Access:  		public
//
//	Arguments:
//	ab_switch	   Mode of the service.  False = do not restore app user attributes
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Tells the service to restore or not to restore
//						the application user level information.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(ab_switch) Then
	Return -1
End If

ib_restoreuser = ab_switch

Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data