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
Syntax
int vas_user_get_groups ( string username, string domainname [, boolean verbose] )
Description
The vas_user_get_groups function checks membership of the group lists.
Returns the index of the matched list item if found, or -1 if not found.
Syntax
int vas_user_in_ADgrouplist ( string username, string domain, list ADgrouplist [, boolean verbose] )
Description
The vas_host_in_ADgrouplist function checks membership of the Active Directory group lists.
Returns the index of the matched list item if found, or -1 if not found.
Syntax
int vas_user_is_member (string username, string groupname [, string domain [, boolean verbose]] )
Description
The vas_user_is_member function checks whether a selected user 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: user not in group
- 1: user in group
- -1: error