asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search










Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Code Samples
Components
Tools
FAQ
Feedback
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

PreviousNext

 

email this FAQ to a colleague

Q: How do I set a user's login script using ADSI?

A: Here is some code that uses ADSI to change a user's login script.



Set oUser = GetObject("WinNT://machinename/username")
oUser.LoginScript = "Login script file name"
oUser.SetInfo
Set oUser = Nothing


- Wayne Berry

Articles
Jul 30, 2002 - Accessing Active Directory Through the .NET Framework
In this article, Robert Chartier shows how to use the System.DirectoryServices Class for some simple User and Group administration tasks with impersonation.
[Read This Article]  [Top]
Jan 30, 2002 - Add to Your ADSI Code Library
Remie Bolte has put together a collection of ADSI scripts for some of the more common Windows administration tasks.
[Read This Article]  [Top]
Nov 27, 2001 - Learning ADSI - Part 2: Editing Users and Administering Groups
In this article, Remie Bolte further demonstrates the power of ADSI with code that renames users, changes user properties, changes user boundaries, and creates, populates, and removes user groups.
[Read This Article]  [Top]
Oct 5, 2001 - Learning ADSI - Part 1: Adding Users To W2K
Remie Bolte uses his popular Adding Users to W2K code sample as a basis for introducing and exploring Microsoft's Active Directory Services Interface.
[Read This Article]  [Top]
Jul 10, 2001 - Web site Administration with ADSI and the .NET DirectoryServices Namespace
The power of Active Directory Service Interfaces (ADSI) and the Microsoft .NET Framework is introduced by Tony Caudill. After completing this article you will be able to easily tame the System.DirectoryServices Namespace and use ADSI services to programatically create, delete, and update all aspects of your Web farm's virtual directories.
[Read This Article]  [Top]
Mar 16, 1998 - ADSI Part II: Configuring NTLM with ADSI
ADSI Part II describes and demonstrations the power of ADSI by showing how to manipulate the NTLM database. Examples in this article show how to add a user to a domain, delete the user, add a group, and add the user to the group. There is also a discussion on security and an overview of the Group, User and Domain ADSI objects.
[Read This Article]  [Top]
Mar 4, 1998 - Programming IIS 4.0 with ADSI
Have you wanted to add virtual roots through VBScript? Create ISAPI server extensions that install themselves in IIS 4.0? Or script the installation of your entire web site including user permissions? You can do this and more with ADSI.
[Read This Article]  [Top]

Books
ADSI ASP Programmer's Reference
Steven Hahn, Steve Hahn

Knowledge Base Articles
HOWTO: Speed Up ADSI Group & Dist. List Members...
Q192950 - 1998.10.08
How to Programmatically Create Members in Site ...
Q192781 - 1998.10.08
How to Programmatically Add Members to Groups
Q192782 - 1998.10.08
HOWTO: Get User Information Using ADSI
Q190741 - 1998.10.08
Using ADO to Access Objects Through ADSI LDAP P...
Q187529 - 1998.10.08
How to Change Windows NT Account Passwords Usin...
Q184619 - 1998.10.08
ADSI Calls From ASP Fail With (0x800401e4) or I...
Q184665 - 1998.10.08
HOWTO: Manipulate File Shares with ADSI (VB Sam...
Q169398 - 1998.10.08
PATCH: ADSI WinNT (ADSNT.DLL) Provider Fixes
Q167801 - 1998.10.08
PRB: Exception 0x8000500D When Querying a Prope...
Q167695 - 1998.10.08
PRB: ADSI WinNT Schema Does Not Contain All Use...
Q187528 - 1998.10.08
HOWTO: Find Password Last Changed Date Using ADSI
Q192949 - 1998.10.08
HOWTO: Enable DHCP Automatically Using WSH VBSc...
Q197424 - 1998.12.31


Support the Active Server Industry



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers