UFN_MEMBERSHIP_GETMEMBERS

Returns a collection of members for a membership.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@MEMBERSHIPID uniqueidentifier IN

Definition

Copy


            create function dbo.UFN_MEMBERSHIP_GETMEMBERS
            (
                @MEMBERSHIPID uniqueidentifier
            )
            returns table
            as
            return
            (
                select
                    ID,
                    CONSTITUENTID,
                    ISPRIMARY
                from
                    dbo.MEMBER
                where
                    MEMBERSHIPID = @MEMBERSHIPID
            )