× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I don't have a Pro/VIP subscription, so can't see the article - does it involve a program you call on the PC? I'm not sure that would fly for our situation.

Thanks
Vern

On 7/15/2011 12:20 PM, Michael Smith wrote:
Additional research:

Getting the Windows User ID, ID 51652 at iSeriesNetwork, by Scott
Klement.

Thanks for all who replied.

Michael

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Friday, July 15, 2011 12:23 PM
To: RPG programming on the IBM i / System i
Subject: Re: GETUSERNAME

I'm looking at SSO using NAS and EIM - I also have a scenario where I
need to find the Windows principal from the iSeries user profile. I just
dug into some of the APIs - it looks as if there's not a single API to
get the source from a target. I might be mistaken, am asking support
about that.

But I think a combination of the eimGetAssociatedIdentifiers and
eimListAssociations APIs can do the trick. There are probably a couple
assumptions, of course, like 1-to-1 associations only. In our case, that
would be a necessary assumption.

HTH
Vern

On 7/15/2011 10:01 AM, Charles Wilt wrote:
If you're using SSO and EIM, there's probably a way to query the EIM
database to figure out what the network ID is for a given IBM i user
ID.

Charles

On Fri, Jul 15, 2011 at 9:17 AM, Michael Smith<msmith@xxxxxxxxxxxxxx>
wrote:
Is there an API that I can use to retrieve the Windows User name?



We are on V6R1.



Michael Smith


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.