EnumNTDomainGroups List

SQLServer.IntegratedSecurity Object

Description

Lists the Windows NT groups that are defined in a specified Windows NT domain. List is returned in a QueryResults object.

Visual Basic

QueryResults = IntegratedSecurity.EnumNTDomainGroups ( [[Domain :=] strDomain] )

C++

HRESULT pIntegratedSecurity->EnumNTDomainGroups ( LPSQLOLEQUERYRESULTS* ppQueryResults,
SQLOLE_LPCSTR
strDomain = NULL );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object
strDomain String Windows NT domain

QueryResults

ColumnName ColumnType

group SQLOLE_DTypeChar
comment SQLOLE_DTypeChar

Reference

xp_enumgroups