Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Accessing roles from an xaction

  1. #1
    Join Date
    Jul 2008
    Posts
    8

    Question Accessing roles from an xaction

    Hi,

    I need to get access to the currently logged in user's roles from inside an xaction. How is the best way to go about that?

    Thanks for the help.

  2. #2
    Join Date
    Jul 2008
    Posts
    8

    Default Figured it out.

    Turns out there is a 'security' input type.

    Code:
     
      <inputs>
        <name type="string-list">
          <sources>
            <security>principalRoles</security>
          </sources>
        </name>
      </inputs>

Tags for this Thread

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.