Username or ID on report header

andrewtandrewt Member Posts: 73
edited 2009-09-17 in Dynamics AX
Hi all,

I want to add the name or ID of the current user to the header section of a report.
Does anybody knows if there is a class/method available returning the current
username like it is for the page no. or the start date used on standard reports ?

Thanks in advance
Andrew

Answers

  • kranthikranthi Member Posts: 72
    Hi,

    You can use the "curuserId()" function to return the current user id.

    I think it will help u.
    Kranthi
  • andrewtandrewt Member Posts: 73
    Perfect ! That's exactly what I was looking for.

    Once again many thanks for your assistance
    Andrew
Sign In or Register to comment.