How to verify 'Revoke Connect From Guest'

  • I have revoked the 'connect' permission from the guest user. How may I verify that the permission was disabled? Is there an Information_Schema View or sys table I can view to actually see that the permission was disabled? It does not show in SSMS (Object Browser or the Guest User Property Page.) We have SQL Server 2005 (SP3) running on Windows.

    Thanks in advance, Kevin

  • Run this procedure for each database except master and tempdb. You can't revoke the guest permissions in both these databases.

    SELECT dpr.name, dpr.type_desc, dpe.permission_name, dpe.state_desc

    FROM sys.database_principals dpr LEFT JOIN sys.database_permissions dpe

    ON grantee_principal_id = principal_id

    WHERE name = 'guest'

Viewing 2 posts - 1 through 1 (of 1 total)

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