Way to pass currently logged in user id as a parameter

Hi,

We are using info view to run crystal reports and our enviornment is Business Objects XI 3.1.

Is there a way to pass currently logged in user id as a parameter to the crystal reports.

Thanks & Regards,
Rajeev Bhardwaj


Rajeev Bhardwaj (BOB member since 2009-12-30)

I’ll be interested in this as well (though I’m still at XIr2). I believe that Business Views Manager will be applicable.

In my case, I’m looking to have a link on a SharePoint site to the report on the BOE server. Ability to see a report and parameters when running them will be based on the user’s AD login.

Thanks.


Dragon77 (BOB member since 2010-05-12)

In Crystal Reports there is a Special Field ;
Current CE UserName.
That should work for you.
Regards,
Zak in Dallas


Richzaktx :us: (BOB member since 2008-12-08)

Hi Zak,

I unable to find out a way to use ‘CurrentCEUserName’ function as a parameter to the crstal report.

Could you please provide me with any suggestion on how we can use functions in the report parameters

Thanks & Regards,
Rajeev Bhardwaj


Rajeev Bhardwaj (BOB member since 2009-12-30)

I have done this before where you create a new Main Report which is just used to determine current ce user name or current ce user id, and pass that to a Subreport, which is currently your Main Report. So, esentially, you have a container Crystal Main Report which passes these parameters to the subreport.
Good Luck
Zak in Dallas


Richzaktx :us: (BOB member since 2008-12-08)