-
adrian started the topic Last login time in OpenDJ in the forum Directory Services 5 years, 5 months ago
Hi everyone,
I am trying to get lastLoginTime attribute for concrete user in OpenDJ using JAVA and LDAP connection, but my code returns null. Part of my code where I am getting this attribute is shown below.
Attributes attributes= ctx.getAttributes(userDN);
lastLogin.setText(String.valueOf(attributes.get(“lastLoginTime”)));Thanks for your help.