Aqualogic Interaction API  
 

IPTUserGroup.SetDynamicMembershipRule Method 

Sets the dynamic membership rule to be used for this group. Once set, the dynamic memberships rule will be assessed by the Dynamic Membership Update Agent periodically. To force an update of this group's dynamic memeberships, see UpdateDynamicMembers().

To clear all dynamic memberships for this group, set the rule to null and store the group. Finally, call UpdateDynamicMembers() to clear the dynamic memberships.
NOTE: If this is a remote group, a PTException of type PT_RESULTCODES.PT_E_USERGROUP_IS_REMOTE will be thrown.

void SetDynamicMembershipRule(
   IPTFilter pRules
);

Parameters

pRules
a valid IPTFilter that describes the dynamic membership criteria to evaluate. Pass null to clear the rule.

See Also

IPTUserGroup Interface | com.plumtree.server Namespace