Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> wsloginidget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WSLoginIDGet()
------------------------------------------------------------------------------
 Purpose:
 Get the user ID logged in at a workstation.

 Syntax:
 dwUserID = WSLoginIDGet( iConnNum )

 Parameters:
 iConnNum The station number.

 Returns:
 A numeric value (unsigned long int).

 The CA-Clipper name for this function is:
 WSLogIDGet()

 Description:
 WSLoginIDGet() returns the ID number of the user currently logged into
 station number iConnNum. If iConnNum is specified as the constant
 NOVDEFINT, the current workstation connection number is assumed.

 Returns NOVERRLONG if an error occurs.

 Example:
 // To display the ID number of the current user:
 dwUserID = WSLoginIDGet( NOVDEFINT )
 if ( dwUserID != NOVERRLONG )
    ? "The ID number of the current user is", dwUserID
 endif
 // To display the ID number of the user logged into station number 10:
 dwUserID = WSLoginIDGet( 10 )
 if ( dwUserID != NOVERRLONG )
    ? "The ID number of the user at station 10 is ",dwUserID
 endif

See Also: WSLoginNameGet() UsrNameGet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson