Solved

vbscript: How can I make a global group a member of another global group using vbscript and ldap ?

Posted on 2006-11-27
1
180 Views
Last Modified: 2010-04-30
please help
0
Comment
Question by:itbabe
1 Comment
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18020180
Try this...


Set objGroup = GetObject(“LDAP://cn=Finance Managers, ou=Finance, dc=fabrikam, dc=com”)
Set objTempGroup =  GetObject(“LDAP://cn=Accountants, ou=Finance, dc=fabrikam, dc=com”)

objGroup.Add(objTempGroup.ADsPath)


ref: http://www.microsoft.com/technet/scriptcenter/resources/qanda/mar05/hey0310.mspx
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question