× 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.


  • Subject: Re: Any programmatic way to change another user's LIBL
  • From: John Earl <johneARL@xxxxxxxxxx>
  • Date: Sat, 28 Mar 1998 10:20:18 -0800
  • Organization: Lighthouse Software

Paul,

Paul McGee wrote:

> Is there any programmatic way to change another user's LIBL
> if I am QSECOFR? I know I could login as the other user but
> I'm trying to put together a program to create a user
> account, libraries, and LIBL all in one step.

Have you considered creating a 'template' user for each work area and 
duplicating
objects for each new user that you add to that work group?  You can use the
RTVUSRPRF command to get all the fields for the User Profile and the CRTDUPOBJ
for OUTQ's, MSGQ's, etc.  This is a nice way to automate the user profile
creation process.

On the subject of library lists, I think it's best to use Job Descriptions to 
set
a users LIBL.  You can use JOBD's to create different library lists for each
business function (equal to a user profile 'template').  I avoid putting library
list manipulation in programs for two main reasons.  First, I don't like the
security exposure that arises when end users have the authority to change their
own library lists. Second, and more importantly, putting library list
manipulations into production programs can give you grief later when you're
trying to test some other function that uses those programs.  I can't count the
number of times that I've seen test programs screw up production data because
there was an embedded ADDLIBLE in it.

IMHO,

jte

>
>
> Thanks in advance
>
> Paul McGee
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---



--
John Earl Lighthouse Software Inc.
8514 71st NW Gig Harbor, WA 98335
253-858-7388 johnearl@lns400.com

Without Lighthouse Network Security/400, your AS/400 is wide open.
--




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.