How to enable "Use Windows Authentication" on a DVLS DataSource in Powershell

How to enable "Use Windows Authentication" on a DVLS DataSource in Powershell

avatar

Hi, is there a possibility to enable "Use windows authentication" on a DVLS DataSource in powershell ?
I'm able to create the datasource with "New-RDMDataSource -DVLS" but not to enable this, i've tried to use Set-RDMDatasourceproperty but didn't know the property.
Can you help me ?

All Comments (2)

avatar

Hi,

The property name is UseWindowsAuthentication.

You can set it to true that way:

$newDt = New-RDMDataSource -DVLS -Name "DVLS" -Server "http://127.0.0.1/dvls"
Set-RDMDatasourceProperty -DataSource $newDt -Property "UseWindowsAuthentication" -Value "True"
Set-RDMDataSource -DataSource $newDt

Best regards,

Olivier Désalliers

avatar

Awesome ! Thanks a lot.