#85688 - 2002-05-16 02:36 PM
Get ADS User-Attributes
|
carstenschaefer
Lurker
Registered: 2002-05-16
Posts: 2
|
Hi there! I was already searching for getting an user attribute (Active Directory). Depending on the value I get, I will execute other part of my login script. How can I accomplish this?
Thanks
Carsten
|
|
Top
|
|
|
|
#85689 - 2002-05-16 02:39 PM
Re: Get ADS User-Attributes
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
It would help to know what particular "attribute" you want to use when making your decision.
|
|
Top
|
|
|
|
#85691 - 2002-05-21 06:56 PM
Re: Get ADS User-Attributes
|
SoupBoy
Fresh Scripter
Registered: 2002-05-02
Posts: 7
Loc: Wisconsin
|
The ADSI provider (http://www.microsoft.com/NTWorkstation/downloads/Other/ADSI25.asp) would need to be installed on your users' NT workstations to use sealeopard's script as a logon script. If you do have NT workstations, I suggest using the WinNT provider if possible...however using LDAP provider will give you many many more properties.
|
|
Top
|
|
|
|
#85692 - 2002-05-21 07:46 PM
Re: Get ADS User-Attributes
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
FYI Jens and others...
You should be using LDAP for Active Directory and WinNT for NT 4.0
Here is a post I made on this issue. I updated it this morning with the KiXtart code as well and not just the VB.
GetObject WinNT vs GetObject LDAP [ 21 May 2002, 19:47: Message edited by: NTDOC ]
|
|
Top
|
|
|
|
#85694 - 2002-05-21 11:52 PM
Re: Get ADS User-Attributes
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Sorry Boss... I'm a bad boy
Saw the code snipet and did not real your note below it.
|
|
Top
|
|
|
|
#85695 - 2002-05-27 01:22 PM
Re: Get ADS User-Attributes
|
carstenschaefer
Lurker
Registered: 2002-05-16
Posts: 2
|
Thank you all for your help!
BTW, I'd like to read the c-Attribute (country) to decide which action in my loginscript is run for the user currently logging on.
Carsten
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|