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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding if a user is part of a group

Status
Not open for further replies.

nbanaji

Programmer
Joined
Jan 4, 2002
Messages
4
Location
IN
I have a names field in a form where the user can select the person name or group name. In a view I have to show all documents that have been given access to that user via the field created earlier. If a group is selected, how can what is the formula for finding if the user if part of that group.
 
@if(@ismember(@v3Username;"Group selected");@true;@false)

Modify as needed for your code. You'll want to explode the group name to create the text string before running the if statement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top