UFN_APPUSER_GETSYSTEMROLELIST_TOITEMLISTXML
Used to convert the results of UFN_APPUSER_GETSYSTEMROLELIST to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@APPUSERID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/30/2010 11:17:36 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_APPUSER_GETSYSTEMROLELIST
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_APPUSER_GETSYSTEMROLELIST_TOITEMLISTXML](
@APPUSERID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [ID], [ISMEMBER], [NAME], [SYSTEMROLEID]
FROM dbo.[UFN_APPUSER_GETSYSTEMROLELIST](@APPUSERID)
for xml raw('ITEM'),type,elements,root('SYSTEMROLELIST'),BINARY BASE64
)
END