Syntax
int vas_host_is_member ( string hostname, string groupname [, string domain [, boolean verbose]] )
Description
The vas_host_is_member function checks whether a selected host name and selected domain is a member of the selected group. If domain is empty, it defaults to the joined domain. You can specify the group name as <domain>/<group> or <group>@<domain>.
Returns:
-
0: host not in group
-
1: host in group
-
-1: error