Remove Group From Members
Remove a single group from multiple members.
Introduction
Section titled “Introduction”Before using this valve the LdapClient module must be configured and deployed with matching name as defined in "namespace"
Configuration
Section titled “Configuration”| Name | Description | Default value | Mandatory | Expanded |
|---|---|---|---|---|
namespace | Bind to LdapClient module. | "default" | ||
group_id | Group DN. | |||
members_identifier | JsonArray with member objects or member DN. | "@json:${request.ad_pending_remove.all}" | ||
id_property | Property on JSON object that contains the member DN. | "id" |
Example when data is from pipe request:{ "name": "ActiveDirectoryRemoveGroupFromMembers", "config": { "namespace": "ldap01", "id_property": "id", "group_id": "${request.selected_ad_id}", "members_identifier": "@json:${request.ad_pending_remove.all}" }}
Example when data is generated in pipe:{ "name": "ActiveDirectoryRemoveMemberFromGroups", "config": { "namespace": "ldap01", "id_property": "id", "group_id": "${item.group_dn}", "members_identifier": "@json:${item.members.all}" }}Example pipe data (from pipe request)
Section titled “Example pipe data (from pipe request)” "selected_ad_id" : "CN=Cert Publishers,CN=Users,DC=company,DC=local", "ad_pending_remove" : [ { "id" : "CN=Lance Armsson,OU=Demo,DC=company,DC=local", "displayName" : "Lance Armsson" }, { "id" : "CN=Britt Thomasson,OU=Demo,DC=company,DC=local", "displayName" : "Britt Thomasson" }],