UFN_CONSTITUENT_ISGROUP
This function determines whether or not a given constituent is a group
Return
| Return Type | 
|---|
| bit | 
Parameters
| Parameter | Parameter Type | Mode | Description | 
|---|---|---|---|
| @CONSTITUENTID | uniqueidentifier | IN | 
Definition
 Copy 
                                    
            CREATE function dbo.UFN_CONSTITUENT_ISGROUP(@CONSTITUENTID uniqueidentifier)
            returns bit
            as
            begin
                declare @result bit
                select @result = ISGROUP from CONSTITUENT where ID = @CONSTITUENTID;
                return @result;
            end