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



John,

Assuming this is not an *ALLOBJ authority user but has the authority to delete a library you can remove the users access to the DLTLIB, DLTOBJ, RD and RMDIR commands. You will also want, as someone else noted, restrict the user's access to the associated clear commands.

For SQL Schema drops you'll need an exit program.

Of course you can give the user only *USE rights to the libraries in question. This way unless the user is an *ALLOBJ authority user they will not be able to delete the library but can use the objects in the library.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Mathew
Sent: Wednesday, January 02, 2013 8:51 AM
To: Midrange Systems Technical Discussion
Subject: Re: Restrict User



Thanks,

If I don't want user id to delete any libraries then?

John


________________________________
From: Jeff Young <jyoung0950@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Wednesday, 2 January 2013 8:45 AM
Subject: Re: Restrict User

Use the command:
GRTOBJAUT OBJ(LIBRARY)
          OBJTYPE(*LIB)
          USER(USER)
          AUT(*EXCLUDE)

where LIBRARY is your library name.

On Wed, Jan 2, 2013 at 11:38 AM, John Mathew <johnmathew400@xxxxxxxxx>wrote:



I want to restrict a particular user ID for deleting a libraries.
he should not have access to delete the library.

Can some one please guide or suggest.

Thanks in advance.


John
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.




--
Jeff Young
Sr. Programmer Analyst
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


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.