Hi,
I try to list all members of a group in a view in NAB. Because I need to export all memebers of this group to a csv-file…
The group is nested. And I wonder if it’s a easy way to do that?
The view should show the person-documents to all the members of this group. Then I can select to export these documents.
Hope anyone can help me…
Subject: Find all members of nested groups
The function below is a variation of this code, which admittedly uses an undocumented formula function, but it’s very fast and resolves group members with one call.
hth,
dgg
Function expandGroupNames(pstrGroupName As String, pvarGroupMembersOut As Variant) As Boolean
On Error Goto errorHandler
expandGroupNames = False
If Len(Trim$(pstrGroupName)) = 0 Then
Goto functionExit '// if no name is passed, don't even try to resolve the group name
End If
pvarGroupMembersOut = Evaluate({@ExpandNameList(@DbName; "} & pstrGroupName$ & {")})
pvarGroupMembersOut = Arrayunique(pvarGroupMembersOut, 5)
If Ubound(pvarGroupMembersOut) = 0 Then '// if there's only one group member, check to see if it's valid
If Strcompare(pvarGroupMembersOut(0), pstrGroupName$, 5) = 0 Then
Goto functionExit '// if the only member found is the group name itself, the group couldn't be resolved
End If
End If
expandGroupNames = True
functionExit:
Exit Function
errorHandler:
Msgbox "Error " & Err & ": " & Error & " encountered at line " & Erl & " of " & Getthreadinfo(1) & ".", , "Error encountered . . ."
Print "Error " & Err & ": " & Error & " encountered at line " & Erl & " of " & Getthreadinfo(1) & " . . ."
Resume functionExit
End Function
Subject: Download IBM Notes ACL tool: Export nested group members to Excel
I am using ACL Dominator 7.1 which allows you to generate ACL reports, then export them to Excel. The nested groups are expanded during the export process and all nested group members are displayed in the Excel report. It allows you to easily see explicit member access to all mailboxes and apps.
Download: ACL Dominator for IBM Notes
http://www.notesmail.com/ACLdominator
tags: nested group, expand, expander, explore, explorer, explode, exploder, acl, nab, ibm dd, export, excel
★ Crucial tools for IBM Lotus Notes and Domino administration and development…
Find the “crucial tools you need to succeed” including product descriptions, downloads, demos and testimonials.
Download and try the lite (free) version.
Better, stronger, faster productivity for administrators and developers.
Speed up IBM Lotus Notes and Domino administration and development with these crucial software tools.
http://www.notesmail.com/IBM-Notes-tools
Subject: Find all members of nested groups
If it’s nested, meaning one group is within in another, yet you want just the lowest level members (i.e. the people only), then you’ll have to write some code to get all the members out.
No method to display that in a view. However, you CAN display people and which groups they belong to (it just won’t capture the nesting relationships for you).
Make a view of all groups, with the first column the members field. Show separate entries on their own line and categorize.
Hope that helps.