ldap_create_user_type_request()--Create a User Type Request Value
Syntax
#include <ldap.h> struct berval * ldap_create_user_type_request ()Service Program Name: QSYS/QGLDCLNT
Default Public Authority: *USE
Threadsafe: Yes
The ldap_create_user_type_request() function is used to create a request berval for the User Type extended operation. The User Type extended operation is used to return information about the currently bound user.
Parameters
NONEAuthorities and Locks
No IBM® i authority is required.
Return Value
- Pointer to berval structure
- Pointer to a berval structure that can be specified as the reqdata parameter on the ldap_extended_operation() API. The caller is responsible for freeing the allocated berval structure by calling ber_bvfree().
- NULL
- A memory allocation error or other error occurred. No further error information is available.
Related Information
- ber_bvfree() -- Free a Berval Structure
- ldap_extended_operation() -- Perform extended operation
- ldap_extended_operation_s() -- Perform extended operation synchronously
API introduced: V6R1
[ Back to top | LDAP APIs | APIs by category ]