--- title: "system.twilio.getAccountsDataset" description: "Returns a list of Twilio accounts that have been configured in the Gateway as a single-column Dataset." --- # system.twilio.getAccountsDataset > Returns a list of Twilio accounts that have been configured in the Gateway as a single-column Dataset. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.twilio.getAccountsDataset()` ### Parameters None ### Returns **Dataset** - A list of configured Twilio accounts as a single-column Dataset. ### Scope All ## Code Examples ```python title="Example #1" # Retrieves a list of Twilio accounts and then passes the data to a Table component's Data property # Call system.twilio.getAccountsDataset() and store the returned list into a variable twilioAccounts = system.twilio.getAccountsDataset() # Pass the dataset to a Table component. The Table is located in the same container as the # component calling this script event.source.parent.getComponent('Table').data = twilioAccounts ```