GroupExists
Returns bool verifying existence of a group, by name
Signature
public bool GroupExists(string groupName)
Parameters
groupName
string required
The name of the group
Return Type
bool
Example
using System;
public class CPHInline
{
public bool Execute()
{
//Define the groupname you want to check
string groupName = "Test Group";
//Method returns a bool type which you can check if the group exists
bool groupExists = CPH.GroupExists(groupName); return true;
}
}