Function WildcatLoggedIn()
(since 5.6.450.7)
Function WildcatLoggedIn(pUser as integer) as integer
|
Where pUser is NULL or the address of a TUser record.
Returns one of the following constants:
clSessionNone
|
no user is logged in
|
clSessionUser
|
user is logged in (returns pUser if not NULL)
|
clSessionSystem
|
system client is logged in
|
clSessionConfig
|
configuration client is logged in
|
Example:
if (WildcatLoggedIn(0) <> clSessionUser) then print “User not logged in” end if
|
© 2003 Hector Santos, http://www.santronics.com
|