Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Access The Logged In User ID

  1. #1

    Default Access The Logged In User ID

    Is there an easy way to display the logged in user id in a CDE dashboard and use the id as a parameter in a CDA query?

  2. #2
    Join Date
    Mar 2011
    Posts
    257

    Default

    in javascript you can access the Dashboards.context.user (or something like that) that's the username.

  3. #3
    Join Date
    Jul 2007
    Posts
    2,498

    Default

    For cda, you shuold use a server side parameter like ${[securityrincipalName]}, preventing argument injection vulnerabilities
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  4. #4

    Default

    Do you have an example of how to do this?

  5. #5
    Join Date
    Jul 2007
    Posts
    2,498

    Default

    In CDA you shuold use the special server side formulas, like =[${securityrincipalName}]
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.