Converting Windows "NT" Userid

Sort:
You are not authorized to post a reply.
Author
Messages
Terry P
Veteran Member
Posts: 234
Veteran Member
    We have a ProcessFlow that is required to read the BUYER table using the index BUYSET3. The segmented key is COMPANY + OPERATOR-ID. When you look at the record in PO04.1 it is displayed like this:



    But when doing a query, you must use what I call the "NT userid" which is something like "NT0000002b". Is there anyway within ProcessFlow to convert the id of "pickering" to the actual value stored on the table? I've tried using a system command of listusermap but don't always have success.
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      You will need to combine a Resource Query to get the UID, from which you can use Javascript to compute the NTID.. See this article; about midway through there is a section on computing the NTID: https://www.lawsonguru.co...tegration-Nodes.aspx
      Thanks for using the LawsonGuru.com forums!
      John
      You are not authorized to post a reply.