Undocumented SQL Server 2012 Security Stored Procedures SQL Server 2012 supports the following six undocumented security system stored procedures: sp_MSdbuseraccess sp_MSdbuserpriv sp_MSchangeobjectowner sp_MSGetServerProperties sp_MSloginmappings sp_MSSetServerProperties sp_MSdbuseraccess The sp_MSdbuseraccess system stored procedure is used to check what kind of access the current user has in the specified database or in all databases. Syntax sp_MSdbuseraccess [ @mode = ] ‘mode’, [ @qual...