docs: protected String getDnForUser(String userId) {
      LdapUserEntity user = (LdapUserEntity) createUserQuery(org.camunda.bpm.engine.impl.context.Context.getCommandContext())
        .userId(userId)
        .singleResult();
      if(user == null) {
        return "";
      } else {
        return user.getDn();
      }
    }