UFN_APPUSERPASSWORDRESETREQUESTEXCEPTION_REASONCODE_GETDESCRIPTION

Return

Return Type
nvarchar(92)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  7/26/2016 4:01:59 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=4.0.162.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_APPUSERPASSWORDRESETREQUESTEXCEPTION_REASONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(92) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Other'
        when 1 then 'Email address not associated with a user'
        when 2 then 'Database email not configured'
        when 3 then 'Self-service password reset not enabled'
        when 4 then 'The email address is associated with a user that has already been linked to a claim identity'    
    end

end