UFN_SYSTEMROLEAPPUSER_SECURITYMODECODE_GETDESCRIPTION

Return

Return Type
nvarchar(40)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  4/27/2009 10:56:46 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.0.62.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_SYSTEMROLEAPPUSER_SECURITYMODECODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(40) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'All records'
        when 1 then 'Records with no site assigned'
        when 2 then 'Records with one of these sites assigned'
        when 3 then 'Records within a branch'    
    end

end