Do you have a Class where you store the username and login time ?
If you do
...
set logintime=$H
set access=##class(<Package>.<Class>).%New()
set access.User=%session.Get("username")
set access.Time=logintime
s astatusaccess.%Save()
if (astatus) {
w "Saved";!
} else {
w "Error",!
}
...Joy Peterson wrote:
Does anybody know a way to get the time that a particular process started? I wan't to be able to show the login time for SQL users.
Thanks.
Joy Peterson
