The System Information graphic form retrieves the Client Details as a DataTable from the “System” DataSource. Filtering of this DataTable can be done via a script.
For example, to display only the username:
DataElementCollection dec = DataElementEngine.NewDataElementCollection();
DataElement de = DataElementEngine.NewDataElement("System.Clients");
dec.Add(de);
MethodReturnInfo info = MyConnection.ReadDataElements(dec);
if (info.Success)
{
DataElementCollection returnDec = info.ReturnObject as DataElementCollection;
DataElement returnDe = returnDec["System.Clients"] as DataElement;
if (returnDe != null && returnDe.Value != null)
{
dgvClients.DataSource = returnDe.Value;
foreach (DataGridViewColumn col in dgvClients.Columns)
{
if (!col.DataPropertyName.ToLower.Equals("username"))
col.Visible = false;
}
}
}
else
{
MessageBox.Show("Error: " + info.ReturnInformation);
}
A sample graphic form is also attached below. This graphic form allows for the filtering on any of the columns by typing them into the text box. This text box is also only visible at Design Time so it will not be visible during runtime.


This sample graphic form can be downloaded here:
LoggedInUsers.Viz (11.9 KB)