# QDSDocumentSessionConfiguration Class

Namespace: [PIX.QMSAPI.DataObjects](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.htm)  
Assembly: PIX.dll

Represents the configuration of a QDSDocumentSession and is used when creating a new session.

## Inheritance

* System.Object
  * QDSDocumentSessionConfiguration

## Syntax

```
public class QDSDocumentSessionConfiguration
```

## Constructors

| Name | Description |
| --- | --- |
| [QDSDocumentSessionConfiguration()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.-ctor.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration__ctor) |  |

## Properties

| Name | Description |
| --- | --- |
| [ClearLocks](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.ClearLocks.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_ClearLocks) | Set this to true if the current locks in the document should be cleared. |
| [ClearOneAndOnlyOne](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.ClearOneAndOnlyOne.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_ClearOneAndOnlyOne) | Value indicating if the "Always one selected value" should be cleared in the QlikView document.<br>If set to false can cause data reduction problems. |
| [ClearSelections](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.ClearSelections.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_ClearSelections) | Set this to true if the current selections in the document should be cleared. |
| [EncryptedSectionAccessPassword](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.EncryptedSectionAccessPassword.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_EncryptedSectionAccessPassword) | Encrypted section access password. |
| [EncryptedSectionAccessUserName](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.EncryptedSectionAccessUserName.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_EncryptedSectionAccessUserName) | Encrypted section access username. |
| [FilePath](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.FilePath.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_FilePath) | The full path of the file to be used by the session. |
| [GroupName](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.GroupName.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_GroupName) | Group name. |
| [QDSID](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.QDSID.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_QDSID) | The id of the QDS for which to create a session. |
| [Reduce](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.Reduce.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_Reduce) | Set this to true of the document should be reduced. |

## Methods

| Name | Description |
| --- | --- |
| [Clone()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.Clone.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_Clone) |  |
| [IsValid(out List<String>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSessionConfiguration.IsValid.htm#PIX_QMSAPI_DataObjects_QDSDocumentSessionConfiguration_IsValid_System_Collections_Generic_List_System_String___) |  |

### Extension Methods

[ApiFilter.FilterFor<T>(T, Nullable<ApiVersion>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.ApiFiltering.ApiFilter.FilterFor.htm#PIX_ApiFiltering_ApiFilter_FilterFor__1___0_System_Nullable_PIX_ApiVersion__)