public List<string> GetGroups()
No parameters.
List<string>
using System;
using System.Collections.Generic;//due to List usage
public class CPHInline
{
public bool Execute()
{
//Get a list of group names
List<string> groupList = CPH.GetGroups();
//Write each group name into logs example
foreach(string group in groupList)
{
CPH.LogInfo($"GroupName: {group}");
}
return true;
}
}