Public Function CurrentGroups()
Dim wrk As Workspace, grp As Group, msg As String
Set wrk = DBEngine.Workspaces(0)
For Each grp In wrk.Users(CurrentUser()).Groups
msg = IIf(msg = "", "", msg & ", ") & grp.Name
Next grp
CurrentGroups = msg
End Function
K. P.