×
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.
Try:
Exec sql select TEXT_DESCRIPTION into :name from qsys2.user_info
where AUTHORIZATION_NAME=:USERID
This will retreive the description of the user Id.
Denis Robitaille
Chef de service TI
Cascades Centre des technologies,
une division de Cascades Canada ULC
412 Marie Victorin
Kingsey falls(Québec) Canada J0A 1B0
T : 819 363 6130
-----Message d'origine-----
De : RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Booth Martin
Envoyé : 8 octobre 2015 00:24
À : RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Objet : Retrieve a user's full name (not the User ID)
Is there a way to programmatically retrieve a user's name from his profile? That is, the "user description field" in the user profile.
--
Booth Martin
www.martinvt.com
(802)461-5349
Slime is the agony of water. -- Jean-Paul Sartre
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.