UFN_APPUSERTHIRDPARTYAUTH_INVITATIONSTATUSCODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(17) | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 5/6/2016 5:43:18 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=4.0.159.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_APPUSERTHIRDPARTYAUTH_INVITATIONSTATUSCODE_GETID(@Description nvarchar(17))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Not yet invited' then 0
when 'Invitation sent' then 1
when 'Invitation failed' then 2
when 'Active' then 3
else -1
end
end