Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
ContactService Class
ContactService Methods
AddContact Method
ChangeSearchContactsRequest Method
CreateContactGroup Method
CreateEditableContact Method
CreateEditableContactFromContact Method
DeleteContact Method
DeleteContactGroup Method
GetAvailableContactSourceTypes Method
GetContactGroups Method
GetContacts Method
GetMatchingContactForDirectoryContact Method
GetSelfContact Method
ResolveContacts Method
SearchContacts Method
SearchTerminals Method
UpdateContact Method

ContactService CreateContactGroup Method

Creates a Contact Group with specified group name and group members.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public void CreateContactGroup(
    	string groupName,
    	HashSet<Contact> groupMembers,
    	ContactServiceCreateContactGroupCompletionHandler completionHandler
    )

#### Parameters

groupName
  Type: System
  String
  Unique name of the group. Note that group name length is limited by the server. Also note that there are some characters not allowed to be present in group name (< > , ").
groupMembers
  Type: System.Collections.Generic
  HashSet
  Contact
  List of contacts to add into a group during creation Contacts to be added as group members should have AddToGroupCapability allowed.
completionHandler
  Type: Avaya.ClientServices
  ContactService
  CreateContactGroupCompletionHandler
  The completion handler for this operation. Operation success or failure is reported through this handler.

Remarks
Group members can be ommited. In this case Contact Service creates Contact Group with empty list of contacts.
See Also

#### Reference

ContactService Class
Avaya.ClientServices Namespace
ContactService
CreateContactGroupCapability

© 2017 Avaya LLC. All Rights Reserved.