Richtig gut geht es erst in R6, da gibt es nämlich eine Methode dazu:
Read-only. The groups to which the current user belongs.
Note This property is new with Release 6.
Defined in
NotesSession
Data type
Array of NotesName objects
Syntax
To get: notesNameArray = notesSession.UserGroupNameList
Usage
The "groups" include the hierarchical parents of the user ID. For Mary Smith/Department One/Acme, for example, the groups include */Department One/Acme and */Acme.
The groups include those to which the user belongs in the Domino Directory or Personal Address Book where the program is running.
In R5 muss man das mittels Script programmieren. Da gibt es hier im Forum aber bereits den Code, wenn ich mich recht erinnere.
Andreas