Purpose
Returns the type of information for which this publish record is.
Syntax
int cwbUN_GetLdapPublishType
( cwbUN_ldapPubHandle handle,
int index,
cwbUN_LdapPubCategories *information
);
Parameters
- cwbUN_ldapPubHandle handle - input
- A handle previously obtained by a call to cwbUN_OpenLdapPublishing().
- int index - input
- Zero-based index of the publish record. This value must be less than the
count returned by cwbUN_GetLdapPublishCount().
- cwbUN_LdapPubCategories * information - output
- The type of information for which this publish record is. Possible values
include:
- CWBUN_LDAP_PUBLISH_USERS
- User information
- CWBUN_LDAP_PUBLISH_COMPUTERS
- iSeries™ systems
- CWBUN_LDAP_PUBLISH_NETWORK_INVENTORY
- NetFinity
- CWBUN_LDAP_PUBLISH_PRINTERS
- iSeries printers
Return Codes
The following list shows common return values:
- CWB_OK
- Successful completion.
- CWB_INVALID_API_HANDLE
- Invalid handle.
- CWB_INVALID_API_PARAMETER
- Invalid index.
- CWB_INVALID_POINTER
- A NULL pointer was specified.
Usage
None