{"id":8112,"date":"2012-01-18T14:38:37","date_gmt":"2012-01-18T14:38:37","guid":{"rendered":"http:\/\/tajdini.net\/blog\/2012\/01\/18\/personalid-ad\/"},"modified":"2012-01-18T14:38:37","modified_gmt":"2012-01-18T14:38:37","slug":"personalid-ad","status":"publish","type":"post","link":"https:\/\/tajdini.net\/blog\/cloud-and-devsecops\/personalid-ad\/","title":{"rendered":"\u0641\u0639\u0627\u0644 \u0633\u0627\u0632\u06cc \u0634\u0645\u0627\u0631\u0647 \u067e\u0631\u0633\u0646\u0644\u06cc \u062f\u0631 Active Directory"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0634\u0645\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0645\u0642\u062f\u0627\u0631 employee ID \u062f\u0631 AD \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0631 AD \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648\u0644\u06cc \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06cc\u0633\u062a. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0631\u0627 \u0628\u062a\u0648\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f \u0628\u0627\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 Schema \u0628\u062f\u0647\u06cc\u062f. \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0628\u0627\u06cc\u062f \u0627\u0628\u062a\u062f\u0627 windows support tools \u0631\u0627 \u0627\u0632 CD \u0648\u06cc\u0646\u062f\u0648\u0632 \u0633\u0631\u0648\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u06f1- \u06a9\u0646\u0633\u0648\u0644 Schema \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u062f\u0633\u062a\u0648\u0631 regsvr32 schmmgmt.msc \u062f\u0631 \u0645\u0646\u0648\u06cc Run<\/p>\n<p>2- \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 employeeID \u0648 employeeNumber \u06a9\u0647 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0634\u062e\u0635\u0647 arreibute \u062f\u0631 schema \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0631\u0627 \u0628\u0647 person class \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645. \u0628\u0627\u06cc\u062f \u0628\u0631 \u0631\u0648\u06cc Person \u062f\u0631 Schema classes \u06a9\u0644\u06cc\u06a9 \u0631\u0627\u0633\u062a \u06a9\u0631\u062f\u0647. Attribute \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u0647. \u0628\u0631 \u0631\u0648\u06cc Add \u06a9\u0644\u06cc\u06a9 \u06a9\u0631\u062f\u0647 \u0648&nbsp; employeeID \u0631\u0627 \u0686\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0648 Ok \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f. \u0647\u0645\u06cc\u0646 \u0645\u0631\u0627\u062d\u0644 \u0631\u0627 \u0628\u0631\u0627\u06cc employeeNumber \u062a\u06a9\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u06f3- \u0628\u0627\u06cc\u062f \u06a9\u0646\u0633\u0648\u0644 Active Directory Service Interfaces (ADSI) Edit \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0633\u067e\u0633 \u0628\u0647 \u0645\u0633\u06cc\u0631 \u0632\u06cc\u0631 \u0628\u0631\u0648\u06cc\u062f.<\/p>\n<blockquote>\n<p dir=\"ltr\" align=\"left\">Configuration Container, CN=Configuration, CN=DisplaySpecifiers, CN=409<\/p>\n<\/blockquote>\n<p dir=\"rtl\" align=\"right\">4- \u062f\u0631 \u0642\u0633\u0645\u062a \u0633\u0645\u062a \u0631\u0627\u0633\u062a \u0645\u0642\u062f\u0627\u0631 CN=user-display \u0631\u0627 \u067e\u06cc\u062f\u0627 \u0648 \u0628\u0631 \u0631\u0648\u06cc \u0622\u0646 \u06a9\u0644\u06cc\u06a9 \u0631\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f. \u0628\u0631 \u0631\u0648\u06cc Properties \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f.<\/p>\n<p dir=\"rtl\" align=\"right\">\u06f5- \u062f\u0631 \u0642\u0633\u0645\u062a Edit Attribute \u0645\u0642\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<blockquote>\n<p dir=\"ltr\" align=\"left\">,&amp;Employee ID, eid.vbs<\/p>\n<\/blockquote>\n<p dir=\"rtl\" align=\"right\">\u0633\u067e\u0633 Add \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f \u0648 \u0645\u0642\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<blockquote>\n<p dir=\"ltr\" align=\"left\">,&amp;Employee Number, enum.vbs<\/p>\n<\/blockquote>\n<p>6- \u0627\u06cc\u0646 \u0645\u0631\u0627\u062d\u0644 \u0628\u0627\u0639\u062b \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0646 EmployeeID \u0648 EmployeeNumber \u0628\u0631 \u0631\u0648\u06cc context menu \u0628\u0631\u0627\u06cc \u06cc\u06a9 user \u062f\u0631 Microsoft Management (MMC) Active Directory Users and Computers snap-in \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u06f7- \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0641\u0627\u06cc\u0644 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0646\u0648\u0634\u062a\u0647 \u0648 \u062f\u0631 \u062f\u0631\u0627\u06cc\u0648 C \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<blockquote>\n<p dir=\"ltr\" align=\"left\">\u2014\u2014\u2013 <br \/>eid.vbs <br \/>\u2014\u2014\u2013 <br \/>Dim oVar <br \/>Dim oUsr <br \/>Dim tmp <br \/>Set oVar = Wscript.Arguments <br \/>Set oUsr = GetObject(oVar(0)) <br \/>tmp = InputBox(&#8220;The Employee ID of the user is: &#8221; &amp; oUsr.employeeID &amp; vbCRLF &amp; vbCRLF &amp; &#8220;If you would like enter a new number or modify the existing number, enter the new number in the textbox below&#8221;) <br \/>if tmp &#8220;&#8221; then oUsr.Put &#8220;employeeID&#8221;,tmp <br \/>oUsr.SetInfo <br \/>Set oUsr = Nothing <br \/>WScript.Quit <br \/>\u2014\u2014\u2014 <br \/>enum.vbs <br \/>\u2014\u2014\u2014 <br \/>Dim oVar <br \/>Dim oUsr <br \/>Dim tmp <br \/>Set oVar = Wscript.Arguments <br \/>Set oUsr = GetObject(oVar(0)) <br \/>tmp = InputBox(&#8220;The Employee Number for this user is: &#8221; &amp; oUsr.EmployeeNumber &amp; vbCRLF &amp; vbCRLF &amp; &#8220;If you would like enter a new number or modify the existing number, enter the new number in the textbox below&#8221;) <br \/>if tmp &#8220;&#8221; then oUsr.Put &#8220;employeeNumber&#8221;,tmp <br \/>oUsr.SetInfo <br \/>Set oUsr = Nothing <br \/>WScript.Quit<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0634\u0645\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0645\u0642\u062f\u0627\u0631 employee ID \u062f\u0631 AD \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0631 AD \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648\u0644\u06cc \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[222,226,235],"tags":[125,241,264,176],"class_list":["post-8112","post","type-post","status-publish","format-standard","hentry","category-cloud-and-devsecops","category-identity-and-active-directory","category-windows-and-server","tag-active-directory","tag-cloud-security","tag-persian","tag-windows"],"_links":{"self":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/comments?post=8112"}],"version-history":[{"count":0,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8112\/revisions"}],"wp:attachment":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/media?parent=8112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/categories?post=8112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/tags?post=8112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}