Skip to Content
author's profile photo Former Member
Former Member

CurrentUser() Function in WebI

All -

In WebI there is a function, CurrentUser() which will return the ID of the user running the report. For example, if In the CMC I have the following information per user

ID: nvincent

Name: Nyrvole Vincent

CurrentUser() is returning nvincent but we need a function that will return "Nyrvole Vincent". Does anyone know what function we can use to support this requirement?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2010 at 09:24 PM

    I don't think so it is possible, directly.

    CurrentUser() retrieves the UserName, which used to log-in Infoview portal.

    Work Around:

    You have do it manually at report.

    Create variable & definition:

    =If(CurrentUser()="Admionistrator" then "ABC-XYZ" elseif(CU()="nvincet" then "Nyrvole Vincet" etc...

    Thank You!!

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member
      @ Universe: What you said is correct. 
      At the same time it will show the Account name not Full Name (which is enlisted or not in CMC at the time of User creation.)

      It doesn't look like you read my post in it's entirety. I did mention the following:

      "So, one could change the Account Name of every user to be their full name..."

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.