1 Reply Latest reply on Jul 2, 2013 8:51 AM by Jörg Hoh

    How to get the user details using sling API classes/methods?



      Since I'm new to cq-5, I have this very basic question. I'm writing my own custom form action to store data entered by the user in the repository. For doing this, I'm writing my own custom jsp page to define all the actions when the submit button is clicked. Now in this jsp page I need to get the details of the user who has logged-in in the current session.


      So can someone please tell me which classes and methods do I need to use to get these user details?


      Please help. Thanks.