Dynamic membership rules in groups allow automatic inclusion or exclusion of members based on specified criteria. Here are a few examples: Department-based dynamic group: Include all users whose department attribute is set to Sales. Location-based dynamic group: Include all users whose location attribute is set to New York. Job title-based dynamic group: Include all users with a job title containing the word Manager. Attribute-based dynamic group: Include all users whose employee ID is greater than a specific value. Membership duration-based dynamic group: Include all users who joined the organization within the last 30 days.