|
Whitebeam Template Reference Documentation
|
Contact Template
whosIn()
Given a community or OU returns all the individuals and OUs that are linked
to it.
See Also
rb.contact.memberOf rb.contact.link Syntax
dataIterator = rb.contact.whosIn(container)
Parameters
The 'whosIn' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | container | number | positive integer | Required. The ID of a valid OU, or community |
Results
The 'whosIn' method returns an iterator of structure:
Example The following example gets all the members of OU "friends"
var friends = rb.contact.communityInfo(-1,"friends");
var results = rb.contact.whosIn(friends.ID);
while(results.getNextRow())
rb.page.write("User " + results.name +"is a member of friends<BR>");
|
|
(loadtime : 96ms) |