i am working on creating a custom eport plugin which require a login user information,. with this login user information i need to filter some data, how can i find the login user information ?
for example: User “A” loged in and ran a report, this report is based on a group fliter… if this user does not have access to Group, X and Group Y, that report should give the results without the Group X and Y information.
if i know where to see if User “A” is the one logged then i can write another Query to find what groups he have access to…
Any idea which table we can see if User “A” is logged in or the logged in user name?