This topic has 2 replies, 3 voices, and was last updated 5 years, 9 months ago by Ludo.

  • Author
  • #16025

    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);

    Thanks for your help.


    I wonder if lastLoginTime is an operational attribute.
    If so, then you need to ask the lastLoginTime attribute to be requested specifically, like any other operational attributes.


    It is an operational attribute (and it must be so it is allowed in any entry that has a userPassword).

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?