UFN_FORCEMFA_ENABLED

Return

Return Type
bit

Definition

Copy


        create function dbo.UFN_FORCEMFA_ENABLED()
        returns bit
        with execute as caller
        as begin
                        declare @ForceMFA bit=0

                  select @ForceMFA =Cast(value as bit) from sys.extended_properties where 
                        name='bb_ForceMFA' and class=0

                        return @ForceMFA
        end