# `getSamlConnectionList()`, Deprecated

This method is deprecated. Use [`getEnterpriseConnectionList()`](/content/docs/reference/backend/enterprise-connections/get-enterprise-connection-list/index.html) instead.

Gets the list of SAML connections for an instance. Returns a [`PaginatedResourceResponse`](/content/docs/reference/backend/types/paginated-resource-response/index.html) object with a `data` property that contains an array of [`SamlConnection`](/content/docs/reference/backend/types/backend-saml-connection/index.html) objects, and a `totalCount` property that indicates the total number of SAML connections for the instance.

```javascript
function getSamlConnectionList(params: SamlConnectionListParams = {}): Promise<SamlConnection[]> {
}
```

## [`SamlConnectionListParams`](/content/docs/reference/backend/saml-connections/get-saml-connection-list#saml-connection-list-params/index.html)

- **Name**: `limit?`  
  **Type**: `number`  
  **Description**: The number of results to return. Must be an integer greater than zero and less than 501. Default: `10`

- **Name**: `offset?`  
  **Type**: `number`  
  **Description**: The number of results to skip. Default: `0`

## [Usage](/content/docs/reference/backend/saml-connections/get-saml-connection-list#usage/index.html)

Note: Using `clerkClient` varies based on the SDK you're using. Refer to the [overview](/content/docs/reference/backend/overview/index.html) for usage details, including guidance on [how to access the `userId` and other properties](/content/docs/reference/backend/overview#example-get-the-user-id-and-other-properties/index.html).

### [Basic](/content/docs/reference/backend/saml-connections/get-saml-connection-list#basic/index.html)

```javascript
const response = await clerkClient.samlConnections.getSamlConnectionList()
```

### [Limit the number of results](/content/docs/reference/backend/saml-connections/get-saml-connection-list#limit-the-number-of-results/index.html)

Gets the list of SAML connections, limited to the specified number of results.

```javascript
const { data, totalCount } = await clerkClient.samlConnections.getSamlConnectionList({
  // returns the first 10 results
  limit: 10,
})
```

### [Skip results](/content/docs/reference/backend/saml-connections/get-saml-connection-list#skip-results/index.html)

Gets the list of SAML connections, skipping the specified number of results.

```javascript
const { data, totalCount } = await clerkClient.samlConnections.getSamlConnectionList({
  // skips the first 10 results
  offset: 10,
})
```

## [Backend API (BAPI) endpoint](/content/docs/reference/backend/saml-connections/get-saml-connection-list#backend-api-bapi-endpoint/index.html)

This method in the SDK is a wrapper around the BAPI endpoint `GET/saml_connections`. See the [BAPI reference](/content/docs/reference/backend-api/tag/saml-connections/GET/saml_connections/index.html) for more information.
