2.2. Running IdM API commands
You can run IdM API commands within your script. To run an IdM API command, use the api.Command structure in your script.
Prerequisites
- The IdM API is initialized. For more information, see Initializing IdM API.
Procedure
For example, to list the information about user, include the following code in your script:
api.Command.user_show("user_name", no_members=True, all=True)In this example, you also pass arguments and options to the command
user_show.