- Contents
Interaction Scripter Developer's Guide
User.startWorkgroupsEnum Enumeration Property
Definition
This property returns an enumeration of workgroups for which the agent is a member of. The enumeration is traversed using the hasMoreElements and nextElement methods of the enumeration. Each call to the nextElement method returns successive elements of the series. The hasMoreElements method will return a Boolean true if this enumeration contains more elements.
Syntax
Queue.startWorkgroupsEnum
Usage
Read Yes
Write No
Value Assigned
None.
Value Returned
- Java Enumeration
-
The enumeration contains the list of member workgroups.
Java Enumeration Example (JavaScript)
// show all workgroups this user is permitted to view
var workgroups = scripter.myUser.startViewableWorkgroupsEnum;
while (workgroups.hasMoreElements()) {
alert(workgroups.nextElement());
}