of_getuserid


pfcapsrv.pbl   >   pfc_n_cst_platformaix   >   of_getuserid   

Full name pfc_n_cst_platformaix.of_getuserid
Access public
Extend of string
Return value string
Prototype public function string of_getuserid()

Name Datatype
No Data

Name Datatype
lb_rc boolean
ls_name string
lul_size ulong

public function string of_getuserid ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetUserID
//
//	Access:  public
//
//	Arguments: none
//
//
//	Returns:  string  - user id/name
//	
//
//	Description:  Return the user id/name currently logged into a network
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
string 	ls_name
ulong		lul_size = 255
boolean	lb_rc

ls_name = space(lul_size)

lb_rc = GetUserNameA( ls_name, lul_size)

if not lb_rc THEN
	return ""
else
	return ls_name
end if
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.space systemfunctions
pfc_n_cst_platformaix.GetUserNameA pfc_n_cst_platformaix

     
Full name
No Data

     
Name Scope
No Data