Find a useful system store procedure to list all mapping user of SQL login account.
BTW, SQLPS has same function:
(dir sqlserver:\sql\servername\instancename\logins) | foreach { $_.EnumDatabaseMappings()}
Find a useful system store procedure to list all mapping user of SQL login account.
BTW, SQLPS has same function:
(dir sqlserver:\sql\servername\instancename\logins) | foreach { $_.EnumDatabaseMappings()}