Hello,
User the LoginManager class.
LoginManager loginManager = ComponentAccessor.getComponent(LoginManager.class);
LoginInfo loginInfo = loginManager.getLoginInfo(String userName)
log.error(loginInfo.getLastLoginTime())
Thank you so much,
I search everywhere except this ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.