Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

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

$
0
0

Hi,

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.


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>