{
    "mode": "perldoc",
    "parameter": "Net::LDAP::Message",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ALDAP%3A%3AMessage/json",
    "generated": "2026-06-13T00:00:54Z",
    "synopsis": "use Net::LDAP;",
    "sections": {
        "NAME": {
            "content": "Net::LDAP::Message - Message response from LDAP server\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::LDAP;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Net::LDAP::Message is a base class for the objects returned by the Net::LDAP methods abandon,\nadd, bind, compare, delete, modify, moddn, search and unbind.\n\nThe sub-class Net::LDAP::Search returned by search also defines many methods.\n\nIf the Net::LDAP object is in async mode then all these methods, except \"done\" and \"mesgid\",\nwill cause a wait until the request is completed.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "code ( )\nThe code value in the result message from the server. Normally for a success zero will be\nreturned. Constants for the result codes can be imported from the Net::LDAP or\nNet::LDAP::Constant module.\n\ncontrol ( [ OID, ... ] )\nReturn the list of controls that were returned from the server. If one or more OIDs are\ngiven as arguments, return only the controls of the OIDs given.\n\ndn ( )\nThe DN in the result message from the server.\n\ndone ( )\nReturns *true* if the request has been completed.\n\nerror ( )\nReturns the error message in the result message from the server. If the server did not\ninclude an error message, then the result of ldaperrordesc with the error code from the\nresult message.\n\nerrorname ( )\nReturns the name of the error code in the result message from the server. See\nldaperrorname for a detailed description of the return value.\n\nerrortext ( )\nReturns the short text description of the error code in the result message from the server.\nSee ldaperrortext for a detailed description of the return value.\n\nerrordesc ( )\nReturns a long text description of the error code in the result message from the server. See\nldaperrordesc for a detailed description of the return value.\n\niserror ( )\nReturns *true* if the result code is considered to be an error for the operation.\n\nmesgid ( )\nThe message id of the request message sent to the server.\n\nreferrals ( )\nReturns a list of referrals from the result message.\n\nservererror ( )\nThe error message returned by the server, or \"undef\" if the server did not provide a\nmessage.\n\nsync ( )\nWait for the server to complete the request.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::LDAP, Net::LDAP::Search, Net::LDAP::Constant, Net::LDAP::Util\n",
            "subsections": []
        },
        "ACKNOWLEDGEMENTS": {
            "content": "This document is based on a document originally written by Russell Fulton\n<r.fulton@auckland.ac.nz>.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Graham Barr <gbarr@pobox.com>\n\nPlease report any bugs, or post any suggestions, to the perl-ldap mailing list\n<perl-ldap@perl.org>.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 1997-2004 Graham Barr. All rights reserved. This program is free software; you can\nredistribute it and/or modify it under the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "Net::LDAP::Message - Message response from LDAP server",
    "flags": [],
    "examples": [],
    "see_also": []
}