Page 2 of 2 <12
Topic Options
#188423 - 2008-06-27 02:06 PM Re: Add Users to Groups Via LDAP provider [Re: Arend_]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Apronk, that is basically the code that I used for ADDING, and the stuff that Allen helped devolop was to DELETE (that was a bit trickier). I will convert my code to an UDF and post it in the future.
_________________________
Today is the tomorrow you worried about yesterday.

Top
#188427 - 2008-06-27 03:51 PM Re: Add Users to Groups Via LDAP provider [Re: Gargoyle]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1870
Loc: Hilversum, The Netherlands
What is trickier ? replace .Add with .Remove
Top
#188432 - 2008-06-27 04:50 PM Re: Add Users to Groups Via LDAP provider [Re: Arend_]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Ah see there is the issue, I did not know what the method was, I tried .Delete and few other variants of that, but not .Remove When searching the MS site, I did not find anything other than the use of putex.
_________________________
Today is the tomorrow you worried about yesterday.

Top
#188434 - 2008-06-27 04:55 PM Re: Add Users to Groups Via LDAP provider [Re: Gargoyle]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1870
Loc: Hilversum, The Netherlands
PutEx in LDAP scripting is basically by rule of thumb (not neccesarily true) only used when you the the value "nothing". For instance remove a description, can only be done by PutEx.
Top
Page 2 of 2 <12


Moderator:  Shawn, ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 145 anonymous users online.
Newest Members
Jodey, Hiker, GTRoberts, KatieQuinn, Brennnnn
17684 Registered Users

Generated in 0.03 seconds in which 0.012 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org