{
    "mode": "info",
    "parameter": "Net::LDAP::Control::DontUseCopy",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/Net%3A%3ALDAP%3A%3AControl%3A%3ADontUseCopy/json",
    "generated": "2026-07-07T09:53:10Z",
    "synopsis": "use Net::LDAP;\nuse Net::LDAP::Control::DontUseCopy;\n$ldap = Net::LDAP->new( \"ldap.mydomain.eg\" );\n$nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );\n$msg = $ldap->search( base => 'o=University of Michigan,c=US',\nfilter => '(cn=Barbara Jensen)'\ncontrol  => [ $nocopy ] );\ndie \"error: \",$msg->code(),\": \",$msg->error()  if ($msg->code());",
    "sections": {
        "Net::LDAP::Control::DoUsereContributed PerNet::LDAP::Control::DontUseCopy(3pm)": {
            "content": "",
            "subsections": []
        },
        "NAME": {
            "content": "Net::LDAP::Control::DontUseCopy - LDAPv3 Don't Use Copy control object\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::LDAP;\nuse Net::LDAP::Control::DontUseCopy;\n\n$ldap = Net::LDAP->new( \"ldap.mydomain.eg\" );\n\n$nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );\n\n$msg = $ldap->search( base => 'o=University of Michigan,c=US',\nfilter => '(cn=Barbara Jensen)'\ncontrol  => [ $nocopy ] );\n\ndie \"error: \",$msg->code(),\": \",$msg->error()  if ($msg->code());\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "\"Net::LDAP::Control::DontUseCopy\" provides an interface for the\ncreation and manipulation of objects that represent the \"DontUseCopy\"\ncontrol as described by RFC 6171.\n\nIt allows the client to specify that copied information should not be\nused in providing the service.\n\nThe control is appropriate for LDAP search and compare operations\n[RFC4511] and inappropriate for all other operations.\n\nIts criticality must be TRUE; it has no value.\n\nThere is no corresponding response control.\n",
            "subsections": []
        },
        "CONSTRUCTOR ARGUMENTS": {
            "content": "Since the \"DontUseCopy\" control does not have any values, only the\nconstructor arguments described in Net::LDAP::Control are supported\n",
            "subsections": []
        },
        "METHODS": {
            "content": "As there are no additional values in the control, only the methods in\nNet::LDAP::Control are available for \"Net::LDAP::Control::DontUseCopy\"\nobjects.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::LDAP, Net::LDAP::Control,\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Peter Marschall <peter@adpm.de>.\n\nPlease report any bugs, or post any suggestions, to the perl-ldap\nmailing list <perl-ldap@perl.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2014 Peter Marschall. All rights reserved. This program\nis free software; you can redistribute it and/or modify it under the\nsame terms as Perl itself.\n\nperl v5.32.0                      2021-01-Net::LDAP::Control::DontUseCopy(3pm)",
            "subsections": []
        }
    },
    "summary": "Net::LDAP::Control::DontUseCopy - LDAPv3 Don't Use Copy control object",
    "flags": [],
    "examples": [],
    "see_also": []
}