def METHOD_NAME(self, group, props):
    cmd = [] + self.groupadd
    if self.sysname == "FreeBSD":
        cmd += [group]
    for item in self.grt:
        cmd += self.fmt_opt(self.groupmod_p[item], str(props[item]))
    if self.sysname != "FreeBSD":
        cmd += [group]
    pinfo("group:", ' '.join(cmd))
    p = Popen(cmd)
    out, err = p.communicate()
    r = p.returncode
    if r == 0:
        return RET_OK
    else:
        return RET_ERR