Page 2 of 2 <12
Topic Options
#40230 - 2003-05-15 06:12 PM Re: Delete all Groups from users group membership list
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Actually, Kent, it will remove all groups except Domain Users. Tried and tested. [Wink]

[ 15. May 2003, 18:12: Message edited by: Chris S. ]

Top
#40231 - 2003-05-15 06:22 PM Re: Delete all Groups from users group membership list
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
On a side note, we ran into an issue with this where we a set of users that did not have the "Domain Users" set as the default group, an application would not work properly.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#40232 - 2003-05-15 06:24 PM Re: Delete all Groups from users group membership list
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Chris,

Minor FYI... The WINNT provider method DOES NOT work with Universal group membership as it doesn't know anything about them. You have to use an LDAP method for Universal groups.

Top
#40233 - 2003-05-15 07:08 PM Re: Delete all Groups from users group membership list
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
quote:
Actually, Kent, it will remove all groups except Domain Users.
Thaty might be the case because Domain Users is designated as their Primary Group. Thus, if an account has a different group as primary group, then Domain Users will be removed but not the other group.
_________________________
There are two types of vessels, submarines and targets.

Top
#40234 - 2003-05-18 08:59 AM Re: Delete all Groups from users group membership list
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Correct. You can not remove the DEFAULT group from the users account. You can set their DEFAULT group to another group and then remove the group that used to be their default.

Beyond that MS assumes you must DELETE the user if they have NO group membership.

Top
#40235 - 2003-05-19 12:44 AM Re: Delete all Groups from users group membership list
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure is it the thing with ms but to me it sounds totally logical.

if you really want to remove the groups, make a group named "trashed UserAccounts" and set it as the default and do the delete groups loop.

thus removal of "domain rights" accounts can be completed.
_________________________
!

download KiXnet

Top
Page 2 of 2 <12


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

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.068 seconds in which 0.036 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