Parameters
- group
 - The group on which to change the name.
 - newName
 - The new name to assign to the group.
 
Return Value
The new group object with the new name.
| Exception | Description | 
|---|---|
| System.ArgumentException | Can't perform the group renaming operation on these arguments. Please check arguments with the method CanSetGroupName before calling this method.  | 
Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed