[dbo].[GetObjectContent]
(local)
>
ReportServer
>
Stored Procedures
> dbo.GetObjectContent
Properties
Parameters
Permissions
SQL Script
Uses
Properties
Property
Value
ANSI Nulls On
Quoted Identifier On
Parameters
Name
Data Type
Max Length (Bytes)
@Path
nvarchar(425)
850
@AuthType
int
4
Permissions
Type
Action
Owning Principal
Grant
Execute
RSExecRole
SQL Script
CREATE
PROCEDURE
[dbo]
.
[GetObjectContent]
@Path
nvarchar
(
425
),
@AuthType
int
AS
SELECT
Type
,
Content
,
LinkSourceID
,
MimeType
,
SecData.NtSecDescPrimary
,
ItemID
FROM
Catalog
LEFT
OUTER
JOIN
SecData
ON
Catalog.PolicyID
=
SecData.PolicyID
AND
SecData.AuthType
=
@AuthType
WHERE
Path
=
@Path
GO
GRANT
EXECUTE
ON
[dbo]
.
[GetObjectContent]
TO
[RSExecRole]
GO
Uses
[dbo].[Catalog]
[dbo].[SecData]
dbo