I'm attempting to use DBMS_LDAP to create a procedure in Oracle 11.2.0.2.0 that ultimately updates an employee table from active directory.
The attributes I want are sAMAccountName, GivenName, and sn.
The variable that is used so store the searched attributes is:
l_attrs DBMS_LDAP.string_collection;
so far I've seen people use:
l_attrs(1) := '*';
&
l_attrs(1) := 'sAMAccountName';
This allows me to get all or 1 attributes for a given entry but I certainly don't want all the attributes.
My question is, is there a way to specify multiple attributes?
Thanks,
Aucun commentaire:
Enregistrer un commentaire