Lists corresponding user information for every database that has a user mapped to this login. List is returned in a QueryResults object.
QueryResults = Login.EnumDatabaseMappings
HRESULT pLogin->EnumDatabaseMappings ( LPSQLOLEQUERYRESULTS* ppQueryResults );
Element | Type | Description |
---|
QueryResults | QueryResults | Returned QueryResults object |
ColumnName | ColumnType |
---|
LoginName | SQLOLE_DTypeChar |
DBName | SQLOLE_DTypeChar |
UserName | SQLOLE_DTypeChar |
AliasName | SQLOLE_DTypeChar |