Page 1 of 1 1
Topic Options
#165399 - 2006-08-03 03:41 PM .:: E-Mail and Active Directory how to populate...
tiz Offline
Lurker

Registered: 2006-08-03
Posts: 2
Sorry for my request:

In a complex domain with 1600 OUs and 400 OUs user just defined,
each ou can contain some users...
I must populate the field "E-mail:" in Active Directory
for each user in domain with this rule:

If E-mail is not null then e-mail = First name.Last Name@domain.it

How can I do it?

sorry for my bad english write...

Thanks a lot for your help...


Edited by tiz (2006-08-03 03:54 PM)

Top
#165400 - 2006-08-03 04:12 PM Re: .:: E-Mail and Active Directory how to populate...
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
You can use fnLDAPQuery() to search for accounts where the email property is empty and return the ADsPath for that account. Then use the ADsPath to performa GetObject for the account in order to set the property.
Top
#165401 - 2006-08-03 04:26 PM Re: .:: E-Mail and Active Directory how to populate...
tiz Offline
Lurker

Registered: 2006-08-03
Posts: 2
Sorry Crhis I'm very new in KIXtart

can you post an example...

thank you very very much

Top
#165402 - 2006-08-03 05:19 PM Re: .:: E-Mail and Active Directory how to populate...
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
This post will show you some of the information you need to understand.

http://www.kixtart.org/ubbthreads/showfl...6237#Post126607
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1013 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.032 seconds in which 0.011 seconds were spent on a total of 12 queries. Zlib compression enabled.

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