Files
developer.sailpoint.com/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-list.md
abhishek-hedaoo-sp 33e0d05150 Update account-list.md
2025-02-12 12:07:44 +05:30

2.0 KiB

id, title, pagination_label, sidebar_label, keywords, description, slug, tags
id title pagination_label sidebar_label keywords description slug tags
account-list-customizer Account List Account List Account List
connectivity
connectors
Account List
Intercept the account list command. /connectivity/saas-connectivity/customizers/commands/account-list
Connectivity
Connector Command

Overview

Use these commands to intercept the account-list command.

Input/Output Data Type
Input StdAccountListInput
Output StdAccountListOutput

Example StdAccountListInput

"state": {"date": "1686341338871"},
"stateful": true

Example StdAccountListOutput

{
    "identity": "john.doe",
    "key": {
        "simple": {
            "id": "john.doe"
        }
    },
    "disabled": false,
    "locked": false,
    "attributes": {
        "id": "john.doe",
        "displayName": "John Doe",
        "email": "example@sailpoint.com",
        "entitlements": [
            "administrator",
            "sailpoint"
        ]
    }
}

Implementation

Before account-list command

Use this logic to implement the command:

    .beforeStdAccountList(async (context: Context, input: StdAccountListInput) => {
        logger.info(`Running before account list for account. State: ${input.state}`)
        return input
    })

The input object can be mutated and returned, but the same data type must still be returned.

After account-list command

Use this logic to implement the command:

    .afterStdAccountList(async (context: Context, output: StdAccountListOutput) => {
        logger.info(`Running after account list for account ${output.identity}`)
        return output
    })

The output object can be mutated and returned, but the same data type must still be returned.

:::caution CAUTION There will be delay in the aggregation process due to this customization process that involves additional processing. :::