Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello,
Does anyone know of a way to view a history of all logins to the system by username?
Thank you,
Mike
Hi Mike,
If your log levels are set to 'INFO', authentication attempts will be logged to the Security Log. From there, you can parse entries for the information that interests you.
The log entry is formatted as follows:
Authentication attempt #1 SUCCEEDED for using
Authentication attempt #1 FAILED for : Invalid Password
Once you've parse the content, it would be trivial to log this data to a
Stream
and perform various calculations (e.g. # of logins by user, # of total logins, etc.).Regards,
Adam
Thanks Adam!