This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The EnumLoginMappings method returns a QueryResults object that contains multiple result sets, where each result set enumerates a Microsoft SQL Server login and the database user(s) to which the login is mapped.
A QueryResults object that contains multiple result sets each defined by these columns.
Reserved for future use.
If applicable, a database that contains a user mapping the login.
Name of a SQL Server login.
If applicable, the database user to which the login is mapped.