Function setgroups

fn setgroups()

See the module comment.