Syntax
int innetgroup ( string netgroup, string host )
Description
innetgroup returns true if the specified host is in the specified NIS netgroup on the policy server; otherwise returns false.
Example
if ( ! innetgroup("submithosts", submithost)) { reject "You are not permitted to submit a command from this host"; }