Cisco Cisco Configuration Engine 3.5 Entwickleranleitung
6-25
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
Chapter 6 Namespace Administration, Group Administration, and Notification APIs
Group Administration API
Clone Members
This operation copies a list of group members and device members from the source group into the
destination group (see
destination group (see
). Note that deep copy is used when copying a group object; all
descendant groups are replicated and copied as well.
Exceptions
This method could throw one of the following exceptions:
•
DatastoreAccessException – Data-store connection problem or problem
not described below.
not described below.
•
ParentNotFoundException – Cannot locate group specified by
absGroupId.
absGroupId.
•
InvalidInputException – See
for basic rules. In addition, input
depth value can either be 1 or 0.
•
MessageFormatException – Problem with XML message syntax to be
sent between the server and the remote API.
sent between the server and the remote API.
Additional exception that could be thrown by remote API:
CommunicationException – General server access problem.
Method
void cloneMembers (String srcAbsGroupId, String destAbsGroupId,
GroupMember[] members)
GroupMember[] members)
Input parameter
srcAbsGroupId
This is the absolute group ID of the source group.
destAbsGroupId
This is the absolute group ID of the destination group.
members
This is the GroupMember array that identifies the sub-group members and
device members to be copied from the srcAbsGroupId into the
destAbsGroupId.
device members to be copied from the srcAbsGroupId into the
destAbsGroupId.
Return
None.