|
|||||
ldapAttribute
|
The ldapAttribute OMX component allows you to perform actions on the entry or attribute instance by using the OmniMark LDAP (omldap) library functions.
The ldapAttribute OMX component is created by the OmniMark LDAP dynamic link library file ("omldap.dll" or "omldap.so"). The related include file ("omldap.xin") defines the interface to ldapAttribute.
To use omldap OMX components in your program, you must put the following include statement in your program:
include "omldap.xin"
Within your program, you can create as many instances of the ldapAttribute OMX component as you require by declaring global and local variables of type "ldapAttribute". For example:
include "omldap.xin" process local ldapAttribute my-entry variable ...
Once you have declared your ldapAttribute OMX variables, you can display, add, delete, or change them with the functions in the OmniMark LDAP library. For example:
include "omldap.xin" process local ldapAttribute my-entry variable ; display the entry name output ldapEntryGetName my-entry