SearchForMembers2 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.

Syntax


C++

HRESULT SearchForMembers2(
   LONG MemberFlags,
   
IERUDirectorySearchCriteria* MySearchCriteria,
   
IERUCollection** ppCollection)

Scripting languages

Set Collection = Object.SearchForMembers2(
   MemberFlags
as Long,
   MySearchCriteria
as IERUDirectorySearchCriteria)

Parameters


MemberFlags

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

MySearchCriteria

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 pointer to a collection of eRoom user and group objects.

Home

Applies to

IERUGroup

IERUMemberManager

IERURoom

IERUSite