EnumDatabaseMappings List

Description

Lists corresponding user information for every database that has a user mapped to this login. List is returned in a QueryResults object.

Visual Basic

QueryResults = Login.EnumDatabaseMappings

C++

HRESULT pLogin->EnumDatabaseMappings ( LPSQLOLEQUERYRESULTS* ppQueryResults );

Elements


Element Type Description

QueryResults QueryResults Returned QueryResults object

QueryResults


ColumnName ColumnType

LoginName SQLOLE_DTypeChar
DBName SQLOLE_DTypeChar
UserName SQLOLE_DTypeChar
AliasName SQLOLE_DTypeChar