The EnumPublicationAccesses method returns a QueryResults object enumerating Microsoft® SQL Server™ logins.
MergePublication Object | TransPublication Object |
object.EnumPublicationAccesses( [ bReturnGranted ] ) as QueryResults
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
bReturnGranted | True or False |
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 |
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.
HRESULT EnumPublicationAccesses(
LPSQLDMOQUERYRESULTS* ppResults,
BOOL bReturnGranted = TRUE);
GrantPublicationAccess Method | RevokePublicationAccess Method |
Publication Access Lists |