最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Learning ADSI - Part I: Adding Users To W2K
时间:2022-06-30 10:57:20 编辑:袖梨 来源:一聚教程网
Learning ADSI - Part I: Adding Users To W2K
By Remie Bolte
print this article
email this article to a colleague
Introduction
As the desire and need for the Internet grew, Microsoft created new products and modified its old ones. Windows OS required features that gave developers and administrators the option to perform tasks remotely. Microsoft responded in part with Active Directory Services Interface (ADSI). ADSI provides a single set of directory interfaces for accessing and managing network resources. So for instance, an administrator could change user permissions or add a user to a network, independent of network environment, using a Web interface or a VB program.
Caveat
Please keep in mind that you are going to modify the basics of the Windows NT security model. You should be very alert when dealing with ADSI. Keep in mind that a simple mistype could mean reformatting and reinstalling your system. Don't do it on a operational machine! Please know that I have tried to make the following code as accurate as possible. Yet I can't guarantee their outcome. So please don't just copy and paste. I know it is very attractive, but it could cause you to spend the next couple of hours looking at a very appealing Windows installation screen.
Windows Security Account Manager
The Security Account Manager (SAM) is the portion of Windows which registers and holds all user information and knows all the default configuration settings. Our first meeting with SAM entails the process of creating a user. This applies to Windows 2000 as well as Windows NT 4.0.
NOTE: In order for the following code to work, administrator rights are required.
Adding A User to The SAM
<%
1. AddUser "newuser","mydomain"
2.
3. Sub AddUser(strUser,strDomain)
4. Dim Computer
5. Dim User
By Remie Bolte
print this article
email this article to a colleague
Introduction
As the desire and need for the Internet grew, Microsoft created new products and modified its old ones. Windows OS required features that gave developers and administrators the option to perform tasks remotely. Microsoft responded in part with Active Directory Services Interface (ADSI). ADSI provides a single set of directory interfaces for accessing and managing network resources. So for instance, an administrator could change user permissions or add a user to a network, independent of network environment, using a Web interface or a VB program.
Caveat
Please keep in mind that you are going to modify the basics of the Windows NT security model. You should be very alert when dealing with ADSI. Keep in mind that a simple mistype could mean reformatting and reinstalling your system. Don't do it on a operational machine! Please know that I have tried to make the following code as accurate as possible. Yet I can't guarantee their outcome. So please don't just copy and paste. I know it is very attractive, but it could cause you to spend the next couple of hours looking at a very appealing Windows installation screen.
Windows Security Account Manager
The Security Account Manager (SAM) is the portion of Windows which registers and holds all user information and knows all the default configuration settings. Our first meeting with SAM entails the process of creating a user. This applies to Windows 2000 as well as Windows NT 4.0.
NOTE: In order for the following code to work, administrator rights are required.
Adding A User to The SAM
<%
1. AddUser "newuser","mydomain"
2.
3. Sub AddUser(strUser,strDomain)
4. Dim Computer
5. Dim User
相关文章
- 无主之地4万物皆可卖成就怎么达成 万物皆可卖成就解锁攻略 09-18
- 地狱即我们全章节怎么过 1-15章流程视频攻略总览 09-18
- 无主之地4安全屋怎么占领 安全屋占领方法 09-18
- 地狱即我们境界怎么过 最终章剧情流程视频攻略 09-18
- 无主之地4圣城丢失的补给舱在哪 圣城丢失的补给舱收集攻略 09-18
- 地狱即我们迷雾平原怎么过 第十四章剧情流程视频攻略 09-18