• 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.