This article provides an example of how to manage Temporal Group Memberships via SPML.
The example below will allow you to manage Temporal Group Memberships via SPML. The following values need to be amended according to your needs:
1) ScheduledOperation-SetTime: membership expiry date;
2) psoID ID: group’s DN;
3) member: user object’s DN.
SPML Example:
<?xml version="1.0"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<spml:modifyRequest xmlns:spml="urn:oasis:names:tc:SPML:2:0" returnData="everything">
<controls xmlns="quest:ars:SPML:2:0">
<control name="ScheduledOperation-SetTime">06/12/2017</control>
</controls>
<spml:psoID ID="CN=Test_Group,OU=Test_OU,DC=DC1,DC=contoso,DC=com"/>
<spml:modification>
<modification name="member" operation="delete" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>CN=User_Object,OU=Test_OU,DC=DC1,DC=contoso,DC=com </value>
</modification>
</spml:modification>
</spml:modifyRequest>
</soap:Body>
</soap:Envelope>
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center