The EnumInitialAccesses method returns a QueryResults object enumerating Microsoft® SQL Server™ logins.
object.EnumInitialAccesses( ) as QueryResults
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list. |
A QueryResults object containing one result set defined by these columns.
Column | Data type | Description |
---|---|---|
loginname | nvarchar(129) | Name of a SQL Server login |
isntname | integer | When 1, the value of the loginname column identifies a Microsoft Windows NT® account |
isntgroup | integer | When 1, the value of the loginname column identifies a Windows NT group account |
The result set enumerates those login records with access in every database at the Publisher.
HRESULT EnumInitialAccesses(LPSQLDMOQUERYRESULTS *ppResults);