UFN_APPUSERTHIRDPARTYAUTH_INVITATIONSTATUSCODE_GETDESCRIPTION

Return

Return Type
nvarchar(17)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint 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_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(17) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Not yet invited'
        when 1 then 'Invitation sent'
        when 2 then 'Invitation failed'
        when 3 then 'Active'    
    end

end