[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_LOGGED()
 Return login status of logical connection or user
------------------------------------------------------------------------------
 Syntax
 
       fn_Logged( [ <nConn> | <cUserName> ] ) -> lLogged_In
 
 Arguments

      <nConn> a numeric logical connection number of a station.
        .or.
      <cUserName> a character user name of a user.
      If ommited defaults to the current station.

 Returns

      A logical value:  Logged in (.T.) or Logged out (.F.)

 Description

      This is a high-level wrapper of fn_conninf() and fn_objcnum()
      which determines whether a logical connection is in use, or if
      a user is logged in or not.

 Examples

      qout( "Connection 5 is "+if(fn_logged(5),"","not ")+"in use." )
      qout( "Joe is "+if(fn_logged("JOE"),"","not ")+"logged in." )


 Source: N:\SRC\CONNWS\LOGGED.PRG

 Author: Rodgers Moore

See Also: fn_conninf() fn_objcnum()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson