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




On May 8, 2024, at 4:41 AM, datil400 <datil400@xxxxxxxxx> wrote:

I am trying to simulate in my ERP the adopted authority to treat IFS objets
in transparent way. I don´t want users have access to certain IFS
directories and files outside the application program.


To do ‘adopted authority’ for ifs, you will need to use the user profile handle switching API’s.

QSYGETPH
QWTSETP
QSYRLSPH

https://www.ibm.com/docs/en/i/7.5?topic=programs-example-using-profile-handles

The profile that you are switching to needs to have authority to the profile you are switching to, or you can handle it with a stand alone program that adopts qsecofr authority.


david


IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a in the American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness. You can make a tax deductible donation to my ride by visiting https://mideml.diabetessucks.net. My goal is $7000 but any amount is appreciated.

You can see where my donations come from by visiting my interactive donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!


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.