id group

Part of the TclX package.

id group ?name?

Queries the current group name or, if name is given, sets it. Setting the group name may require root permission.