AnsweredAssumed Answered

Get a valid password from DatabaseConnectionProperties

Question asked by TomGeo on May 8, 2019
Latest reply on May 8, 2019 by RRuh-esristaff

I have sde files to connect to my Oracle database and as long as I use the Database class from ArcGIS.Core.Data the sde file is enough. However, I also need the credentials to issue some SQL commands later on.

The password property of DatabaseConnectionProperties returns the instance and the user name as it should, but the password property only returns an empty string.

 

Any suggestions on how to get the password read from the sde file?

 

ArcGIS.Core version 12.3.0.0, runtime version v4.0.30319

 

Thomas

Outcomes