Assembly: ININ.IceLib.People (in ININ.IceLib.People.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public class UserWorkgroupActivationList |
Visual Basic |
---|
Public Class UserWorkgroupActivationList |
Remarks
Users have the ability to activate and deactivate themselves in ACD workgroups. If a user is activated in a workgroup to which they are assigned, they are available to handle ACD interactions.
To begin a watch on a user's workgroup activation, call the StartWatching(array<String>[]()[][]) or StartWatchingAsync(array<String>[]()[][], AsyncCompletedEventHandler, Object) methods, passing in a string array of workgroups for which you are interested in watching this user's activation. The completedCallback delegate is invoked when the asynchronous start watch operation has completed.
To stop watching user workgroup activations, call the StopWatching()()()() or StopWatchingAsync(AsyncCompletedEventHandler, Object) methods. The completedCallback delegate is invoked when the asynchronous stop watch operation completes. You can get the list of all workgroups for which the user is assigned from the helper method GetUserWorkgroups(PeopleManager).
For example: If a user is a member of both the Support and Custom Service workgroups and activates himself to begin handling interactions for the Support workgroup, the WatchedObjectsChanged event will be triggered if a watch is in progress.
To access the list of workgroup activations, call the GetList()()()() method. If a watch is not in progress an InvalidOperationException is raised.
Calling StartWatching(array<String>[]()[][]) or StartWatchingAsync(array<String>[]()[][], AsyncCompletedEventHandler, Object) methods when a watch is
already in progress, or calling StopWatching()()()() or StopWatchingAsync(AsyncCompletedEventHandler, Object) methods when
a watch is not in progress raises the InvalidOperationException.
Note |
---|
The asynchronous methods are preferred since the start, change, and stop watch can be lengthy operations. |
Inheritance Hierarchy
ININ.IceLib.People..::..UserWorkgroupActivationList
Version Information
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.