UFN_SYSTEMROLEAPPUSER_ACCOUNTINGELEMENTSECURITYMODECODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(42) | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/30/2010 11:16:30 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_SYSTEMROLEAPPUSER_ACCOUNTINGELEMENTSECURITYMODECODE_GETID(@Description nvarchar(42))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'All records' then 0
when 'Allow use of records in selected groups' then 1
when 'Restrict use of records in selected groups' then 2
else -1
end
end