Path.group

string group() const

Gets the group name of the file (POSIX only).

Returns

The group name, or an empty string on Windows or error.