You should use API's to do this Dave.
Here's a couple of links to some stuff that you can read to help you form
the tool you are looking for:
http://www.itjungle.com/fhg/fhg121405-story02.html - List Signed On Users
from a Web Page
Also, you should check out the following APIs:
Retrieve User Information (QSYRUSRI) API -
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/qsyrusri.htm
Check User Special Authorities (QSYCUSRS) API -
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/QSYCUSRS.htm
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Turnidge, Dave
Sent: Thursday, June 07, 2007 11:02 AM
To: Midrange Systems Technical Discussion
Subject: User Profile Analysis
I have been tasked with writing a user profile analysis program. Before
re-inventing the wheel, I want to find out if there is already one
available that will be a quick-start help. So far, my searches have
proven unfruitful. It appears to take a special talent to put words
together in a way that returns the result set required - and I don't
seem to have that talent...
What I am envisioning is a program that brings up a subfile of user
profiles on the system. It should be able to locate to specific
profiles, and probably should be able to sort by user description as
well as user profile name.
When a user profile is selected, a second screen would come up that
shows all relevant information regarding that user profile, and then
(from a file specific to our company) give a subfile of menu options
that the user has authority for.
This program should also be able to print one or all user profiles and
the menu options that each profile has authority to.
I hoping for at least RPGLE if not SQLLE, and the use of APIs to gather
information would be a bonus (for learning purposes).
Thank you,
Dave
As an Amazon Associate we earn from qualifying purchases.