Skip to content
  • Articles
  • About API – my my

Articles on Apis

APIs by Example

Written by Carsten FlensburgApril 22, 2010October 1, 2017

APIs by Example: Security APIs – and Transfer of User Object Ownership

The Security API topic is one of the most comprehensive in the IBM i Information Center API section. In release 6.1, the security APIs are divided into eight subcategories, including Security-related APIs, Digital Certificate Management APIs, User Function Registration APIs, and Validation List APIs, to mention a few. And each subcategory comprises many APIs. One of the largest groups is the Security-related APIs, from which I’ve picked an API for today’s issue of APIs by Example.

The API in question was given the rather lengthy name of List Objects a User Is Authorized to, Owns, or Is Primary Group of (QSYLOBJA) API. The API capacity demonstrated here relates to object ownership. For a specified user profile the QSYLOBJA API lists all objects owned by the user profile to a user space. From there on, the object list is processed using the Retrieve Pointer to User Space (QUSRPTRUS) API and pointer arithmetic. In this API example I use the QSYLOBJA API–produced object list as the foundation for a CL command that lets you transfer object ownership from one user profile to another.

Download the save file containing the source code.

Read the entire article.

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...
Posted in Object authority, Security, User profile.

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

Archives

Category

API usage Application modernization Commands Cross reference Cryptographic services Database file Data queue Date and time Digital certificate manager Display file Document conversion DSM eBook Environment variables Exit points Hardware Help panel IFS Job Job accounting Job queue Job scheduler Job screen Journal LAN Locales Messages MI Module information NetServer Object Object authority Object locks Output queue PEX Printer Programs PTF Query Retrive journal entries RPG Save & restore Security SMTP Spooled files SQL Subsystem Systems management TCP/IP Tips Track exports Trigger UIM User profile User spaces Validation lists Watch definition Workload capping groups Work management XML ZIP

Blogroll

  • Scott Klement's site
  • Dan Riehl's site
  • Lillian Boutté
  • Anette Harboe Flensburg
  • Eamon O'Kane

Post navigation

Previous Post Carsten’s Corner – New Subsystem Entry Commands – Part Two
Next Post Carsten’s Corner – New Subsystem Entry Commands – Part 3
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Articles on Apis
    • Already have a WordPress.com account? Log in now.
    • Articles on Apis
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: