User Specific Credential Question
Hi
We're using an SQL Database as a data source.
Instead of creating 20 accounts on the DB for all of our team, we created 2 account: One for Read/Write permissions and one for ReadOnly permissions.
But we want to use user specific settings for credentials entry.
Users with the RW account in their data source settings are able to enter a different credentials, but those with the RO account are all using the same credentials.
Should we use different SQL account for each users ?
Create a new data source with Powershell
Hi
I'm trying to create a new data source via a Powershell script.
$dataSource = New-RDMDataSource -Name "New Datasource" -Type "XML"
Set-RDMDataSourceProperty -DataSource $dataSource -Property "FileName" -Value "C:\path\to\file.rdm"
Set-RDM-DataSource $dataSource
When I try to run that, I get the following error:
Set-RDM-DataSource : Impossible de lier le paramètre « ID ». Impossible de convertir la valeur « New Datasource » du type « Devolutions.RemoteDesktopManager.Business.DataSources.XmlConnectionDataSource » en type « System.Guid ».
Au caractère Ligne:1 : 21
+ Set-RDM-DataSource $dataSource
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument : (:) [Set-RDM-DataSource], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Devolutions.RemoteDesktopManager.Business.PS.Commands.SetRDMDatasourceCommandClassic
I also tried the following:
PS C:\WINDOWS\system32> Set-RDM-DataSource -ID $dataSource.ID
But I get the error:
WARNING: Connection not found.
What am I doing wrong ?