|
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 EIMwrote:
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>
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 mailing list archive is Copyright 1997-2025 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.