I was hoping for a way that didn't require storing the information at
login time. If that is not possible, then either this or Kevin's
suggestion will work. Thanks.
Nuno Canas wrote:
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