Community property

Returns an IERUCommunity pointer to the Community object. Returns NULL if there is no community context.

For IERUFacility, returns the community to which the facility belongs.

For IERUSEvent_Group, returns the group's native IERUCommunity.

For IERUMember, returns the member's native IERUCommunity.

For IERUSEvent_User, returns the user's native IERUCommunity.

For IERUSiteFacility, returns the community in which the facility resides.

Note that attempting to access the Community property for an Add Community Before or a Delete Community After synchronous event throws an EROOM_E_INVALIDOPERATION error.

Syntax


C++

HRESULT get_Community(IERUCommunity** ppCommunity)

Scripting languages

Set Community = Object.Community

Home

Applies to

IERUCustomContext

IERUFacility

IERUMember

IERUSEvent_Community

IERUSEvent_DirectorySynch

IERUSEvent_Facility

IERUSEvent_Group

IERUSEvent_User

IERUSiteFacility