LDAPGateway::getCanonicalUsername

Get a canonical username from the record based on the connection settings.