· Adding Server OperatorsOccasionally, you might want to add server operators for the FTP- orWWW-server with ADSI. The VBScript below (which can also be translated toASP) shows an sample way of accomplishing this task.'' AddAdmin.vbs - Add an administrator to FTP, W3, NNTP or S...
· Active User Objects和The Membership Directory在网站的编程技术中我们经常遇到的问题是如何跟踪用户的信息,特别是当用户数量高达数百万的时候,可以很方便的管理用户并且还要求服务器的高性能。下面介绍到将使用AUO(Active User Objects)技术来实现这个功能。一些基本的概念简介:首先一个基础 ...
· 使用AUO(Active User Object)来维护用户信息如果你要是对其中的一些技术术语不明白的话,请参考我在前面发过的有关ADSI的文章。 现在在进行网站编程的时,要保存用户信息的时候经常使用的技术是:1。使用Session对象来保存用户信息,这种方式很常见,它允许你在你的程序的任何一个位置添加一个Se...
· 客户程序也可以利用IADsClass、IADsProperty和IADsSyntax接口在运行时刻确定目录对象的详细属性信息。操作步骤如下: a. 先绑定到目录对象的表结构对象,可以直接访问目录对象的“schema”属性。b. 用枚举的办法从表结构对象中找到强制属性或者可选属性,如果客户知道要访问的属性名则可以跳...
· 在独孤九剑兄的帮助下,完成了这段代码包括NT用户的建立,EXCHANGE邮箱的建立,两者的结合,权限的设置本代码在nt4.0+sp6+exchange5.5+adsi2.5下运行通过建立以后的用户可以直接收发信件,是一个简化版本的WEB MAIL ACCESSadsi_exchange.ASP-----------------------------------------------------...
· Oscar 于 99-6-15 上午 09:44:00 加贴在 Joy ASP:使用ADSI、ASP和一对魔术戏法自动地创立一个虚拟目录,第二部分Tom Moran 和 Jeff Sandquist1999年2月22日我们回来了。大家翘首以盼的这篇文章的第二部分现在在这儿。并且我想你将花费整个晚上看你的猫清洗自己。这个月,Jeff Sandquist和我完成了...
· Set oUser = GetObject("WinNT://machinename/username")oUser.ChangePassword "oldpassword", "newpassword"oUser.SetInfoSet oUser = NothingIf (err.number <> 0) Then It Failed!Else It was successful!End if
· This script removes un-needed script mappings on an IIS 5.0 web server. Script mappings are the isapi dlls or exe's that execute webpages through IIS. This script requires administrator access, and ADSI 2.5 files. This script queries the IIS metabase and returns a multi-v...
· Learning ADSI - Part I: Adding Users To W2KBy Remie Bolte print this article email this article to a colleague IntroductionAs the desire and need for the Internet grew, Microsoft created new products and modified its old ones. Windows OS required features that gave developers...