Thank you for your reply.
I would like to gain an understanding when a user was locked, or when not possible at least removed.
So far, I gained the understanding that I can not use the following method for checking the lock date, when the user was removed:
Open Users from Administration-->>Setup-->>General-->>Users
Then open desired user like manager
Then open Tools-->>Change Log
I suppose, the user is not shown anymore on screen when the user was moved to group 99.
Then I just asked myself whether I could run this query
- select T1.Locked,T1.updateDate from AUSR T1 where T1.USER_CODE='USERID' unionall select T2.Locked,T2.updateDate from OUSR T2 where T2.USER_CODE='USERID'
For checking the lock date of the user (USERID would be the userid I suppose).
I understand from your information that the user still exists in table OUSR, only that the group was changed to 99 = removed.
So I would suppose that the query should actually work, wouldn't it?
If the query above does not work, it would make sense for me to run your query
SELECT User_Code, U_Name FROM OUSR WHERE Groups = 99
For getting a least the removal date.
Does that make sense?
Thank you and Best Regards
Mike