of_setuserid


pfcapsrv.pbl   >   pfc_n_cst_appmanager   >   of_setuserid   

Full name pfc_n_cst_appmanager.of_setuserid
Access public
Extend of integer
Return value integer
Prototype public function integer of_setuserid(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setuserid (string as_userid);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetUserid
//
//	Access:  public
//
//	Arguments:  as_userid   the current user's id
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:  Sets the current user's id
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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(as_userid) Then
	Return -1
End If

is_userid = as_userid
Return 1

end function

     
Name Owner
n_cst_demopfc.of_logondlg n_cst_demopfc
pfc_n_cst_apppreference.of_restoreuser pfc_n_cst_apppreference
pfc_n_cst_apppreference.of_restoreapp pfc_n_cst_apppreference
pfc_n_cst_appmanager.of_logondlg pfc_n_cst_appmanager

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data