Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User groups and form fields

Status
Not open for further replies.

ChristopherGarry

Programmer
Apr 15, 2004
1
US
Does anyone know a way to look up what group a particular user who is viewing a document is a part of?

I have been able to pull what role the user has into a field, now I need to pull the group name the user is a part of.

Any and all ideas greatly appreciated.

Chris
 
If you are using R6, it is simple : use a script and check the UserNameGroupList property of the NotesSession.

If not, then I see no other possibility than to write a script checking the server NAB's group list for the user name.
In other words, you need to create a special People by Groups view in the server NAB (even in R6 Lotus still hasn't made one, incredible !), and user that for lookup by your script.

Obviously, using R6 is much faster and less access-intensive, not to mention eliminating the need to change the server NAB (never a good idea !).

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top