Net::LDAP::Extension::WhoAmI (3)
Leading comments
Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) Standard preamble: ========================================================================
NAME
Net::LDAP::Extension::WhoAmI - LDAP "Who am I?" OperationSYNOPSIS
use Net::LDAP; use Net::LDAP::Extension::WhoAmI; $ldap = Net::LDAP->new( "ldap.mydomain.eg" ); $ldap->bind('cn=Joe User,cn=People,dc=example,dc=com", password => 'secret'); $mesg = $ldap->who_am_i(); die "error: ", $mesg->code(), ": ", $mesg->error() if ($mesg->code()); print "you are bound with authzId ", $mesg->response(), "\n";
DESCRIPTION
"Net::LDAP::Extension::WhoAmI" implements the "Who am I?" extended LDAPv3 operation as described inRFC 4532.
It implements no object by itself but extends the Net::LDAP object by another method:
METHODS
- who_am_i
- Obtain the authorization identity which the server has associated with the user or application entity.
SEE ALSO
Net::LDAP, Net::LDAP::ExtensionAUTHOR
Norbert Klasen <norbert.klasen@avinci.de>,Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>