Given a string, try to determine if it is a valid distinguished name for a LDAP object. This is a somewhat
unsophisticated approach. A regex might be a better solution, but would probably be rather difficult to get
right.
public static isValidLdapObjectDn ( string $dn ) : boolean | ||
$dn | string | |
Результат | boolean |