Who Am I

Returns the name of the authorization entity established on the connection as described in RFC 4532.

ExtendedOperation whoami = new ExtendedOperation(new DefaultConnectionFactory("ldap://directory.ldaptive.org"));
ExtendedResponse res = whoami.execute(new WhoAmIRequest());
if (res.isSuccess()) {
  String authzId = WhoAmIResponseParser.parse(res);
}