UFN_APPUSERPASSWORDRESETREQUESTEXCEPTION_REASONCODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(92) | 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_GETID(@Description nvarchar(92))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Other' then 0
when 'Email address not associated with a user' then 1
when 'Database email not configured' then 2
when 'Self-service password reset not enabled' then 3
when 'The email address is associated with a user that has already been linked to a claim identity' then 4
else -1
end
end