Page 1 of 1 1
Topic Options
#197791 - 2010-02-16 09:59 PM Function InGroup()
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
Currently the InGroup() function, works on the NT4 name of the group.

Could we have an optional parameter for InGroup() to look for the name shown in Active Directory Users and Computers.

Maybe:
Ingroup('Group', Optional 'Post NT4')

Where
'Post NT4' could be a boolean value, if set to true, would return membership of name shown in Active Directory Users and Computers

-Erik

Top
#198192 - 2010-03-26 03:30 PM Re: Function InGroup() [Re: kholm]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
Ingroup() works on membership of a security group, are you talking about membership of an Organizational Unit (OU)?
A user can belong to 1 or more security groups, but can only belong to 1 OU.
There are many scripts available on this site, to return Active Directory information. Look for ones using GetObject(LDAP://RootDSE)
Regards,
Bill
_________________________
Bill

Top
Page 1 of 1 1


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

Who's Online
0 registered and 507 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

Generated in 0.049 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

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