Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: How to get the Windows User name using PDI

  1. #1

    Post How to get the Windows User name using PDI

    HI I have a required like to get the system user name (say windows os) by using a transformation . Is that possible ? Help me to solve this issue.

    Thanks in advance.

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Variable user.name seems to be what you are looking for.
    So long, and thanks for all the fish.

  3. #3

    Default

    i want to get that user name for next step in transformation how can i do that ?

  4. #4
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Either you can use the variable directly (e.g. in a config field prepared for textual substitution, look out for the dollar icon), or you can add the variable as a field to your input stream by using step "Get Variable" from category "Job".
    So long, and thanks for all the fish.

  5. #5

    Default

    yes this is what i want thanks a lot !!!

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.