iSeries / AS400 FAQ : Programming : RPG : How do I check a users authority to files in the Root File System?
Q. How do I check a user’s authority to files in the Root File System? A. The Retrieve User Authority to Object (QSYRUSRA) API supports the special value *PUBLIC for the User profile name parameter. The List Users Authorized to Object (QSYLUSRA) API can also be used to determine public authority as the first entry returned in the list is for *PUBLIC. Both APIs are found in the Security chapter of the System API Reference.
Related Questions
- iSeries / AS400 FAQ : Programming : RPG : I have fields defined as zoned in my file. But the compiler listing reports them as being packed, why?
- iSeries / AS400 FAQ : (Category) Programming : (Category) RPG : How do I check a users authority to files in the Root File System?
- iSeries / AS400 FAQ : Programming : RPG : How do I check a users authority to files in the Root File System?