UFN_CONSTITUENT_GETSECURITYATTRIBUTES_FORUPDATEBATCH

This function returns a constituent's security attributes for the update batch given its ID.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@CONSTITUENTID uniqueidentifier IN

Definition

Copy


            create function dbo.UFN_CONSTITUENT_GETSECURITYATTRIBUTES_FORUPDATEBATCH(@CONSTITUENTID uniqueidentifier)
            returns table
            as return
                select
                    CSA.[CONSTIT_SECURITY_ATTRIBUTEID]
                from
                    dbo.[CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT] CSA
                where
                    CSA.[CONSTITUENTID] = @CONSTITUENTID;