How to get "Till Time" of user by script

Please any one can help me
I need to get “Till Time” of user by script in terminal, And all profiles of quested user
And “last used MAC”
Thanks :slight_smile:

UP!

last used mac :

/tool user-manager user get value-name=caller-id number="username"

you can get “till time” of the user sessions

but if you want “till time” of user which sum all profile validity time

you can’t :frowning:

I asked before, it seems that Mikrotik haven’t added “till-time” & “End-time” for user profiles … in CLI

I hope they do soon