isAllowed()
-
boolean isAllowed(string objectClassName, string attributename)
Example:
$ldap = new LDAP(); $oc = "organizationalUnit"; $attribute = "businessCategory"; if ($ldap->isAllowed($oc, $attribute)) echo "$attribute is allowed by the objectClass $oc<br>\n"; else echo "$attribute is not allowed by the objectClass $oc<br>\n";