Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Copy group memberof

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,42609
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Copy group memberof
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Copy group memberof - 1/29/2007 8:25:30 PM   
  Zolta

 

Posts: 13
Score: 0
Joined: 11/29/2006
Status: offline
hi,

I'm trying to copy the Group membership. From one user, to the user I already created with an automated adding user script.
There are a lot of enumerating scripts out there. But I can't seem to find how to copy each group from the enumerated list to the target user.

So, the question is: What code should I add to get each of the enumerated group and add it to the user.

Any help appreciated,

greets


      
 
 
Post #: 1
 
 RE: Copy group memberof - 1/30/2007 1:31:42 AM   
  dm_4ever


Posts: 2172
Score: 32
Joined: 6/29/2006
From: Orange County, California
Status: offline
I haven't tried this yet, but I think something like this might work.


      

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Zolta)
 
 
Post #: 2
 
 RE: Copy group memberof - 1/30/2007 9:15:25 PM   
  Zolta

 

Posts: 13
Score: 0
Joined: 11/29/2006
Status: offline
It's working, I did try making a loop but it only gave errors ^^

 thanks dm_4ever

(in reply to dm_4ever)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Copy group memberof Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts