![]() |
|
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
||||||
| Other Library Functions | ||||||
| function |
ldap.add-entry |
|
Library: LDAP support (OMLDAP)
Import: omldap.xmd |
define external function ldap.add-entry
to value ldap.connection connection
named value string distinct-name
attributes modifiable ldap.attribute attributes optional
Argument definitions
This function adds a directory entry to the LDAP server.
import "omldap.xmd" prefixed by ldap.
process
local ldap.connection my-ldap
local ldap.attribute my-entry variable
set my-ldap to ldap.open 'www.stilo.com'
set new my-entry to ldap.create-attribute named "cn"
with-value "Brown" and "V. Brown" and "Valerie Brown"
ldap.add-entry my-ldap
named "cn=Brown,Department=HR,o=stilo.com"
attributes my-entry
Copyright © Stilo International plc, 1988-2008.