Microsoft KB Archive/258287

= Windows NT Groups Are Not Created Immediately after You Create Groups in a Membership Directory =

Article ID: 258287

Article Last Modified on 5/10/2000

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q258287



SYMPTOMS
When you create a new group in a Site Server Membership directory, the corresponding Windows NT groups are not created immediately. By default, it takes the system up to ten minutes to create these groups.



WORKAROUND
To work around this issue, use one of the following methods:  Force the group creation by restarting the Site Server Authentication service. Manually create the groups by using the Windows NT User Manager.  Manually create the groups by using code similar to the following: Dim sADsPath Dim sGroupName Dim sDescription

Dim oTarget Dim oNewGroup

sADsPath = "WinNT://MyComputer,computer" sGroupName = "Site_MyOrg_Group1" sDescription = "A site server group"

'Bind to NT Set oTarget = GetObject(sADsPath)

' Create new User object. SetInfo must be called here to commit ' the new group to the directory. Set oNewGroup = oTarget.Create("group", sGroupName) oNewGroup.SetInfo

' Set basic properties on new group. Note that SetInfo must be ' called a second time here to commit the Description property ' change. oNewGroup.Description = sDescription oNewGroup.SetInfo

Set oTarget = Nothing Set oNewGroup = Nothing NOTE: The Windows NT group must be in the form "Site_MyOrg_Group1" for a membership group named "Group1" in a Membership directory where the root node is "MyOrg." 

Keywords: kbfix kbprb KB258287

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.