of_setuserkey


pfcapsrv.pbl   >   pfc_n_cst_apppreference   >   of_setuserkey   

Full name pfc_n_cst_apppreference.of_setuserkey
Access public
Extend of integer
Return value integer
Prototype public function integer of_setuserkey(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setuserkey (string as_userkey);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetUserKey
//
//	Access:		public
//
//	Arguments:		
//	as_userkey	full registry key for the user.
//
//	Returns:		Integer
//	 1 = success
//	-1 = error 
//
//	Description:	Sets the value of the registy key for the user
//
//////////////////////////////////////////////////////////////////////////////
//
//	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(as_userkey) Then
	Return -1
End If

is_userkey = as_userkey

Return 1
end function

     
Name Owner
pfc_n_cst_appmanager.of_setapppreference pfc_n_cst_appmanager

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data