Stuart Frater 13.Oct.06 10:30 AM a Web browser Domino Designer6.5.2Solaris
I'm after a bit of LotusScript to move groups from one NAB to another. For the sake of this request lets not worry about the reason and accept that LotusScript is the only way that it can work, i.e. we can't use any other admin tools.
In effect what I'm after is something that does something like the following. The ".CopyNestedGroups( )" line being the line that I'm after the code for.
'declarations etc
' set database objective etc
Set acl = db.ACL
Set entry = acl.GetFirstEntry
While Not (entry Is Nothing)
If entry.IsGroup Then
Call CopyNestedGroups( entry , targetNAB )
end if
Set entry = acl.GetNextEntry( entry )
Wend
I've searched this forum and have come across many examples of finding a user or users in nested groups. This is obviously slightly different.