{"id":217367,"date":"2020-12-02T12:50:21","date_gmt":"2020-12-02T04:50:21","guid":{"rendered":"http:\/\/4563.org\/?p=217367"},"modified":"2020-12-02T12:50:21","modified_gmt":"2020-12-02T04:50:21","slug":"c-%e8%b0%83%e7%94%a8-aduser-constructors","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=217367","title":{"rendered":"C# \u8c03\u7528 ADUser Constructors"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  C# \u8c03\u7528 ADUser Constructors               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : badacook <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u5927\u5bb6\u597d\uff0c\u8fd9\u91cc\u8bf7\u6559\u5927\u5bb6\u4e00\u4e2a\u95ee\u9898 <br \/>\u4e00\u4e2a\u4efb\u52a1\u4e2d\uff0c\u4f7f\u7528 C#\u5b9a\u4e49\u4e00\u4e2a\u65b9\u6cd5\uff0c\u8f93\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u76f8\u5f53\u4e8e\u7528\u6237\u540d<br \/>\u8fd4\u56de\u4e00\u4e2a\u5bf9\u8c61\uff0c\u8981\u6c42\u8be5\u5bf9\u8c61\u5177\u5907 ADUser \u5e38\u7528\u7684\u5c5e\u6027\uff0c\u80fd\u5426\u4e0d\u7528\u81ea\u5b9a\u4e49 class<br \/>\u6b64\u5904\u53ef\u80fd\u6d89\u53ca C#\u8c03\u7528\u76f8\u5173 Windows API \u5982 ADUser Constructors <br \/>\u53ef\u53c2\u9605\u8fd9\u7bc7\u6587\u7ae0 https:\/\/www.cnblogs.com\/benwu\/p\/4132026.html<br \/>\u4e0d\u77e5\u9053\u80fd\u5426\u5b9e\u73b0\uff0c\u8fd8\u671b\u5404\u4f4d\u524d\u8f88\u4e0d\u541d\u8d50\u6559\uff0c\u8c22\u8c22\u4e86      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4419046\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : forgottencoast <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5148\u8bf4\u4f60\u8981\u8c03\u7528\u90a3\u4e2a API\uff0c\u4f60\u627e\u5230\u4e86\u5417\uff1f\u6587\u6863\u94fe\u63a5\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4419047\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : badacook <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ADUser Constructors \u5c31\u8fd9\u4e2a\u554a\uff0c\u6211\u662f\u60f3\u5728 C#\u4e2d\u521b\u5efa\u4e00\u4e2a\u5bf9\u8c61\uff0c\u5177\u6709 ADUser \u5e38\u7528\u7684\u5c5e\u6027\uff0c\u80fd\u5426\u4e0d\u7528\u81ea\u5b9a\u7c7b\uff0c\u76f4\u63a5\u52a0\u8f7d<br \/>Assembly:Microsoft.ActiveDirectory.Management.dll \uff0c\u4f7f\u7528 ADUser \u6784\u9020\u51fd\u6570\u5b8c\u6210\uff0c\u5c31\u662f\u60f3\u95ee\u4e00\u4e0b \u8fd9\u4e2a\u601d\u8def\u662f\u5426\u53ef\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4419048\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : forgottencoast <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4f60\u770b\u4e0d\u5230\u6e90\u4ee3\u7801\u7684\u8bdd\uff0c\u4f60\u4e0d\u77e5\u9053\u8fd9\u4e2a\u7c7b\u7684\u8bbe\u8ba1\u662f\u5426\u7b26\u5408\u4f60\u7684\u8981\u6c42\uff0c\u867d\u7136\u5c5e\u6027\u53ef\u4ee5\u4f7f\u7528\uff0c\u4f46\u662f\u91cc\u9762\u53ef\u80fd\u4f1a\u5305\u542b\u4e00\u4e9b\u903b\u8f91\u5904\u7406\uff0c\u8fd9\u91cc\u9762\u53ef\u80fd\u4f1a\u5728\u4f60\u7684\u7a0b\u5e8f\u4e2d\u5f15\u5165 bug \u3002<br \/>\u800c\u4e14 ADUser \u8fd9\u4e2a\u7c7b\u7684\u7ee7\u627f\u5173\u7cfb\u5f88\u590d\u6742\uff0c\u6240\u4ee5\u6b63\u5e38\u6765\u8bf4\u80af\u5b9a\u662f\u4e0d\u5efa\u8bae\u8fd9\u6837\u7528\u7684\uff0c\u4e0d\u8fc7\u4f60\u975e\u8981\u8fd9\u6837\u7528\u4e5f\u4e0d\u662f\u4e0d\u53ef\u4ee5\u3002<br \/>\u51b5\u4e14\u81ea\u5df1\u81ea\u5b9a\u4e49\u4e00\u4e2a\u7c7b\u4e5f\u662f\u975e\u5e38\u7b80\u5355\u7684\u4e8b\u60c5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>C# \u8c03\u7528 ADUser Cons&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/217367"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=217367"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/217367\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217367"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}