ZelloWork Client SDK  2.51
Public Member Functions | Properties | List of all members
IGroup Interface Reference

Inherits IContact.

Public Member Functions

HRESULT Find ([in] BSTR bstrContact, [out, retval] IContact **ppContact)
 

Properties

int Count [get]
 
IContact Item ([in] int iIndex) [get]
 
int OnlineCount [get]
 
- Properties inherited from IContact
BSTR Id [get]
 
CONTACT_TYPE Type [get]
 
BSTR Name [get]
 
BSTR FullName [get]
 
BSTR Description [get]
 
ONLINE_STATUS Status [get]
 
IHistory History [get]
 
VARIANT_BOOL Muted [get, set]
 

Detailed Description

IGroup interface allows to read group properties.

Member Function Documentation

§ Find()

HRESULT Find ( [in] BSTR  bstrContact,
[out, retval] IContact **  ppContact 
)

Find existing contact by ID or name. It's recommended to always use contact ID. Groups only contain users.

Parameters
bstrContactContact ID or name.
ppContactReturn value. NULL is returned if contact with given ID or name doesn't exist.

Property Documentation

§ Count

int Count
getproperty

Get number of contacts in group.

Parameters
piValReturn value.

§ Item

IContact Item([in] int iIndex)
getproperty

Get existing contact by index. Groups only contain users.

Parameters
iIndexContact index.
ppContactReturn value.

§ OnlineCount

int OnlineCount
getproperty

Get number of online contacts in group.

Parameters
piValReturn value.