ClearUsersFromGroup
Remove all users from a group
Signature
public bool ClearUsersFromGroup(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 clear
string groupName = "Test Group";
//Method returns a bool indicating the success of clearing the group
bool usersCleared = CPH.ClearUsersFromGroup(groupName); return true;
}
}