Thanks for your reply, but i wanted to find the users list into the particular website. we have lot of websites in our environments. So i wanted to find user count on each and every website. can you please help me with this?
I could think of at least 2 different approaches:
* iterate through all of your users; for each user impersonate into a user session (get an admin session first and impersonate afterwards into a session owned by that user) and check if you can read (or write) the root page of that site; this assumes that you can make a solid statement based on the accessibility of this rootpage. If you ACL setup is complex for websites and the root page does not qualify for this statement, you need to find a different definition of "users who have access to that site".
* iterate through the content of the site (including all versions) and find all the users who actually performed changes by inspecting the properties cr:createdBy and jcr:lastModifiedBy.
Depends on your definition of "users who are doing authoring".