UFN_SYSTEMROLE_GETCUSTOMUSERNAMELIST_TOITEMLISTXML

Used to convert the results of UFN_SYSTEMROLE_GETCUSTOMUSERNAMELIST to xml.

Return

Return Type
xml

Parameters

Parameter Parameter Type Mode Description
@SYSTEMROLEID uniqueidentifier IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  1/27/2010 6:53:42 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_SYSTEMROLE_GETCUSTOMUSERNAMELIST
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_SYSTEMROLE_GETCUSTOMUSERNAMELIST_TOITEMLISTXML](
@SYSTEMROLEID uniqueidentifier
    )
returns xml
as
BEGIN

RETURN (
SELECT [CUSTOM_AUTHENTICATION_USERID], [DISPLAYNAME]
 FROM dbo.[UFN_SYSTEMROLE_GETCUSTOMUSERNAMELIST](@SYSTEMROLEID)
 for xml raw('ITEM'),type,elements,root('USERNAMELIST'),BINARY BASE64

)

END