SearchForMembers method

Returns an IERUCollection of eRoom user and group objects members found in a Site, Community, Room, or Group, that match the given directory search criteria and member flags.

IERUDirectoryConnection::SearchForMembers is obsolete in V.7. Use IERUMemberManager methods to search for members instead.

Syntax


C++

HRESULT SearchForMembers (
   ERUDirSearchFlags Flags,
   IERUDirectorySearchCriteria* pSearchCriteria,
   IERUCollection** ppCollection)

Scripting languages

Set Collection = Object.SearchForMembers (
   Flags
as ERUDirSearchFlags,
   pSearchCriteria
as IERUDirectorySearchCriteria)

Parameters


Flags

Filters the collection of members found. See ERUDirSearchFlags for a description of the flag values which may be logically OR'ed together to form Flags.

pSearchCriteria

A pointer to an IERUDirectorySearchCriteria interface pointer that specifies criteria that the desired directory members must satisfy.

ppCollection

Upon return, an IERUCollection interface pointers to a collection of eRoom user and group objects.

Return value


C++

The return code.

Scripting languages:

Upon return, an IERUCollection interface pointers to a collection of eRoom user and group objects.

Home

Applies to

IERUDirectoryConnection

IERUDirectoryGroup

IERUGroup

IERUMemberManager

IERURoom