Does anyone know how to translate the image field NtSecDescPrimary? I would like to know what is in this field.
USE ReportServer
SELECT
SecDataID
, PolicyID
, AuthType
, XmlDescription
, NtSecDescPrimary
, NtSecDescSecondary
FROM SecData
So far, I have tried this but not the correct data.
--SELECT CAST(CAST(CAST('SQL Server' AS IMAGE) AS VARBINARY(MAX)) AS VARCHAR(MAX))
SELECT
aS1.*
, CAST(CAST(NtSecDescPrimary AS VARBINARY(MAX)) AS VARCHAR(MAX))
FROM [dbo].SecData aS1
why, what is the business case for this?
It is complicated to explain because it is better to walk you through visually. But the objective is to control the report security through automated scripts.
So far, I have been able to update users and roles in the XML and tables correlation. In order for this to complete, I would have to go to the dashboard and MANUALLY add/delete some bogus user from the chosen report and then both the XML and Policy tables sync which the security then works.
The fields NtSecDescPrimary and NtSecDescSecondary are in questioned as to completely remove the MANUAL step above.