The EnumPublicationAccesses method returns a QueryResults object that enumerates Microsoft® SQL Server™ 2000 logins.
object.EnumPublicationAccesses( [ bReturnGranted ] ) as QueryResults
object
Expression that evaluates to an object in the Applies To list
bReturnGranted
TRUE or FALSE
HRESULT EnumPublicationAccesses(
LPSQLDMOQUERYRESULTS* ppResults,
BOOL bReturnGranted = TRUE);
A QueryResults object that contains one result set defined by these columns.
Column | Data type | Description |
---|---|---|
isntgroup | integer | When 1, the value of the loginname column identifies a Microsoft Windows NT® 4.0 or Microsoft Windows 2000 group account. |
isntname | integer | When 1, the value of the loginname column identifies a Windows NT account. |
loginname | nvarchar(129) | Name of a SQL Server 2000 login |
When bReturnGranted is TRUE, the result set enumerates those login records in the publication access list.
When bReturnGranted is FALSE (default), the result set enumerates login records not in the publication access list.