Logged In Id in CustomScripts ofreports
Content
Can we get Logged in Staff Account Id in Custom Scripts of Reports:
It seems the below code is not working.
Can someone help how to get Logged in Account's Id in Reports.
Regards
Version
V1.3Code Snippet
I am using:
$resultData = RNCPHP\ROQL::query("SELECT curAdminUser()")->next(); //Check For currentLogin
if($resultData->count()>0)
{
$row = $resultData->next();
$modifiedByID=$row['curAdminUser()'];
}
Tagged:
0