Hi @kotireddy4b1
You should be simple able to get it from Authorizable
Sample code snippet:
Session session = resourceResolver.adaptTo(Session.class);
UserManager userManager = resourceResolver.adaptTo(UserManager.class);
Authorizable auth = userManager.getAuthorizable(session.getUserID());
from this you can simply get id or path of logged in user.
Thanks
Dipti