最新下载
热门教程
- 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
相关文章
- 卡厄思梦境救援是什么 救援机制介绍 10-30
- 卡厄思梦境哪些角色比较强 角色节奏榜一览 10-30
- 崩坏因缘精灵墨角兽有什么技能 墨角兽强度解析 10-30
- 崩坏因缘精灵青丝蝶怎么样 青丝蝶介绍一览 10-30
- 崩坏因缘精灵刃怎么玩 刃玩法教学 10-30
- 新月同行1周年庆典有哪些福利-一周年庆典福利汇总 10-30