Hi,
I develop a plugin and I try to get the latest connexion of a user. I didn't find anything in java.
Somebody have an idea,
Best
Hello,
User the LoginManager class.
LoginManager loginManager = ComponentAccessor.getComponent(LoginManager.class);
LoginInfo loginInfo = loginManager.getLoginInfo(String userName)
log.error(loginInfo.getLastLoginTime()
)
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.