p = group.find(s)

Get a group object pointer associated with a given group name. Note that a group object will be created if one does not exist already.

A group object pointer can be used instead of a string in most places a group name is used. For example with the or zone.isgroup functions. This removes string comparison and lookup from the operation and is therefore faster to execute.

Returns:p - a pointer to a group object.
Arguments:s - the name string of a group