So I can call sp_ModifyDatabase( 'LOGINS_DISABLED','False' ) to modify the state of LOGINS_DISABLED, but I can't find how you check the current state of the setting. Anyone know where that is?

有帮助吗?

解决方案

The system.dictionary system table contains that information:

SELECT Logins_Disabled FROM system.dictionary;
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top