Good Morning,
we would like to display login status on a agent directory of our application desktop.
currently we populate our directory with
internal ICollection<CfgPerson> RetrieveAgents()
{
// Creates an instance of the CfgPersonQuery class.
// An instance of the configuration service is provided, so the query will be executable.
CfgPersonQuery query = new CfgPersonQuery(this.confService);
ICollection<CfgPerson> ret;
try
{
query.IsAgent = (int)CfgFlag.CFGTrue;
ret = query.Execute();
}
catch
{
Bandeau.Log.Error("RetrievePersonByName::ExecuteSingleResult() error");
ret = null;
}
return ret;
}
how could we make a filter on the fact that we want to retrieve only list of agents who are already logged.
alternatively we would like to have call back and know how to set call back when an event : either new logged in or a logged out of an agent occured
Thierry