Page 1 of 1 1
Topic Options
#88013 - 2002-09-17 10:05 PM ADSI - Logon Workstations
Bonji Offline
Starting to like KiXtart

Registered: 2001-09-28
Posts: 169
Loc: Virginia
I'm trying to access the Logon Workstations (Log on to) property through ADSI. All the documentation I find on it says to use...
adsUser.UserWorkstations
However, it never returns a value for me. I'm currently trying to access it through the WinNT provider. Does it only work through LDAP?

Ben

[ 17. September 2002, 22:08: Message edited by: Ben Dulaney ]

Top
#88014 - 2002-09-17 10:29 PM Re: ADSI - Logon Workstations
Bonji Offline
Starting to like KiXtart

Registered: 2001-09-28
Posts: 169
Loc: Virginia
Well, to answer my own post, it seems this only works through LDAP.

This brings me to a new dilema, how would I utilize variables for the different contexts that are possible? I have users in several different OU's, but I need my utility to be able to access any of them, and I would hate to have to hard-code any paths. Does anyone know how to achieve this without hard-coding it?

Thanks,
Ben

[ 17. September 2002, 22:35: Message edited by: Ben Dulaney ]

Top
#88015 - 2002-09-17 10:58 PM Re: ADSI - Logon Workstations
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Search the UDF Library for TranslateName(). You can use Domain\User and return the Distinguished Name.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1376 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.052 seconds in which 0.026 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