User Object

September 23, 2012

Properties:

active_usr returns .T. if the server accepts connections from this user

computer returns the user computer name

logintime returns the datetime of last login

remoteIP returns thee user remote IP, or the user router’s IP

remotePort returns the user remote port or the user router’s port

uid returns the user unique ID

uname returns the user name, the name used for login

usrcode returns the user code

online Returns 1 if the user is online

 

Use GETUSERPROP of psgusers to access the USER properties

Example: server.psgusers.getuserprop(loginname,’usrcode’)

 

Objects:

CONNECTION - For each user, the “connection” object is created at login and destroyed at log out.

Related Articles

The Users Collection

PSGUSERS  – the users collection – each user has a…

PSG Connection Object

Instantiated at user login, this object receives the PSG request…

PSG Server object

Properties: psgdata_connection - connection string to PSG internal database (users management,…

SQLCON Object

SQLCON is the connector to the database server. At the…

No Responses

Leave a Response

Your e-mail will not be published. All fields are required

Featured Articles