Creating EXCHANGE2000 Users with ASP code (cont.)

Source: Internet
Author: User
Some time ago to write a program, but not perfect, can not determine whether there is the user, now complement the lookup function.
Code deficiencies, hope feel free!
The complete code is as follows:
<%@ language=vbscript codepage= "936"%>
<% Option Explicit%>
<HTML>
<HEAD>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<meta name= "generator" content= "Microsoft Visual Studio 7.0" >
</HEAD>
<BODY>
<%
' Program Purpose: Create Exchange 2000 Mailbox users
' Program implementation: first in AD (Active Directory: Active Directory) to find if there is a
' User, if there is a hint that the name already exists, does not create the user,
' and create a mailbox for that user.
' Programming: Skyword, skyword@21cn.com
' Program Date: 2001-06-27
' The problem to be noted: in the use of programs, you should pay attention to the differences in LDAP. and the program needs to run more than
' higher than the main running permissions (I use is administrator rights, hehe more unsafe,
' Everyone in the actual use to pay attention to, or be stolen from the account do not blame me.
' I'm not very good at setting it up, I need to set it up in IIS (previously because I didn't understand
', took a lot of detours:)
' There is also a scheme to find the user can combine the database lookup, I think we
' will be more familiar, just remember in the initial data, to the computer
' Some accounts have to be logged into the database, or you can not be prepared to decide whether to use
' Because ad only judges whether there is a user, regardless of where it is, this
' Dot everybody should notice.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.