Decrypt SQl Logins
How can I decrypt the value of SQLLogin and ReportSQLLogin from HR_Staff so that I can execute usp_Jiwa_Grant_Application_Permissions and usp_Jiwa_Grant_Reporting_Permissions from code?
SBarnes wrote:How can I decrypt the value of SQLLogin and ReportSQLLogin from HR_Staff so that I can execute usp_Jiwa_Grant_Application_Permissions and usp_Jiwa_Grant_Reporting_Permissions from code?
encryption = new JiwaEncryption.JiwaEncrypt();loginPlainText = Encryption.DecryptString(EncryptedSQLLogin, Manager.Database.FormatDateTime(SQLLoginLastSavedDateTime, true));