Find Login Disabled Time in SQL Server

  • Hi,

    We can find the locked out time of a loing using the loginproperty('islocked') feature. Is there a way to find when a login has disabled?

    Thanks

  • Did u check updatedate column in sys.syslogins table for ur login???

  • I checked that. But there is no guarantee it contains the disabled time. Is there any other way to check this?

  • Use LOGINPROPERTY('LockoutTime') instead.

    K. Brian Kelley
    @kbriankelley

  • Hi

    This is not working as mentioned below please advice.

    SELECT LOGINPROPERTY('sa', 'IsLocked'); --Working

    SELECT LOGINPROPERTY('BRIDGESTONE-CU\activex29', 'IsLocked'); -- not Working

    Jayant Dass

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply