You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Logged In Id in CustomScripts ofreports

edited Sep 1, 2017 8:34AM in Reporting & Analytics for B2C Service 1 comment

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.3

Code Snippet

             I am using:


$resultData = RNCPHP\ROQL::query("SELECT curAdminUser()")->next(); //Check For currentLogin
    if($resultData->count()>0)
   {
   $row = $resultData->next();
   $modifiedByID=$row['curAdminUser()'];
   }
 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!