# DSResource 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 a Directory Service Resource (DSResource).

## Inheritance

* System.Object
  * DSResource

## Syntax

```
public class DSResource
```

## Constructors

| Name | Description |
| --- | --- |
| [DSResource()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm#PIX_QMSAPI_DataObjects_DSResource__ctor) |  |
| [DSResource(Guid, String, String, String, String, String, String, IDictionary<String, String>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm#PIX_QMSAPI_DataObjects_DSResource__ctor_System_Guid_System_String_System_String_System_String_System_String_System_String_System_String_System_Collections_Generic_IDictionary_System_String_System_String__) |  |

## Properties

| Name | Description |
| --- | --- |
| [DSResourceType](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.DSResourceType.htm#PIX_QMSAPI_DataObjects_DSResource_DSResourceType) | Type of the directory service resource. |
| [ErrStatus](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.ErrStatus.htm#PIX_QMSAPI_DataObjects_DSResource_ErrStatus) | The current status of this resource. |
| [Id](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Id.htm#PIX_QMSAPI_DataObjects_DSResource_Id) | The id of the resource. |
| [Name](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Name.htm#PIX_QMSAPI_DataObjects_DSResource_Name) | The name of the resource |
| [Password](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Password.htm#PIX_QMSAPI_DataObjects_DSResource_Password) | The password to be used when accessing this resource. |
| [Path](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Path.htm#PIX_QMSAPI_DataObjects_DSResource_Path) | The path of the resource |
| [Settings](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Settings.htm#PIX_QMSAPI_DataObjects_DSResource_Settings) | The settings for this resource. |
| [Type](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Type.htm#PIX_QMSAPI_DataObjects_DSResource_Type) | The type of the resource |
| [Username](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.Username.htm#PIX_QMSAPI_DataObjects_DSResource_Username) | The user name to be used when accessing this resource. |

## Methods

| Name | Description |
| --- | --- |
| [IsValid(out List<String>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.IsValid.htm#PIX_QMSAPI_DataObjects_DSResource_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__)