#include <ldap.h> LDAPControl * ldap_create_group_control_from_list ( char **listOfGroups, int normalized)Service Program Name: QSYS/QGLDCLNT
The ldap_create_group_control_from_list() function creates a Group Authorization control structure from a list of groups. The control is always marked critical. The control can be used with other LDAP requests to specify the groups that the LDAP server should use to evaluate authority when the application is acting as a proxy for another client.
A list of character strings containing the distinguished names (DNs) of the groups that a user belongs to. The list is terminated by a null pointer.
The list of group DNs contains normalized values.
No IBM® i authority is required. Authority to use the Group Authorization control is determined by the LDAP server.
See LDAP Group Control for an example of using ldap_create_group_control_from_list().
[ Back to top | LDAP APIs | APIs by category ]