How could I use the APIs to accomplish this? I have following plan but do not know how to use the APIs.
I will collect the following info:
List of all user profiles into a work file
List EIM Associations (eimListAssociations) returns a list of associations for a given EIM identifier. To make sure User ID already does not exist.
List EIM Registries (eimListRegistries) lists the user registries participating in the EIM domain. To pass the registry name to the following API.
Then I will use above info to pass the variables into following APIs:
Add EIM Identifier (eimAddIdentifier) creates an identifier in EIM related to a specific person or entity within an enterprise.
Add EIM Association (eimAddAssociation()) associates a local identity in a specified user registry with an EIM identifier.
Dig Deeper on Integrated File System (IFS)
Related Q&A from Shahar Mor
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer. Continue Reading
On the AS/400 library, source files are multi-member. View source files using GET QCLSRC.membername or MGET QRPGSRC.* Continue Reading
Connecting the iSeries in AS/400, issue STRHOSTSVR *ALL. Make sure the as-signon port is in listen state and check the firewall settings. Continue Reading