UFN_SYSTEMROLE_GETKPILIST_TOITEMLISTXML

Used to convert the results of UFN_SYSTEMROLE_GETKPILIST to xml.

Return

Return Type
xml

Parameters

Parameter Parameter Type Mode Description
@SYSTEMROLEID uniqueidentifier IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  12/17/2008 2:06:44 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_SYSTEMROLE_GETKPILIST
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_SYSTEMROLE_GETKPILIST_TOITEMLISTXML](
@SYSTEMROLEID uniqueidentifier
    )
returns xml
as
BEGIN

RETURN (
SELECT [GRANTORDENY], [ID], [KPICATALOGID]
 FROM dbo.[UFN_SYSTEMROLE_GETKPILIST](@SYSTEMROLEID)
 for xml raw('ITEM'),type,elements,root('KPILIST'),BINARY BASE64

)

END