Group Identity Member AML

How can I add members to a group identity with AML code using Batch Loader? I appreciate your comments.
Parents
  • I was on here to try to find how to turn this into a server method, but here is how to add an existing identity as member to an identity. Just a different snippet that works for me. It does: Edit Identity / Add Member / Get Identity to add as member.

    
    <AML>
        <Item type="Identity" action="edit" where="[identity].name='All Employees'">
          <Relationships>
              <Item type="Member" action="add">
                  <related_id>
                      <Item type="Identity" action="get">
                          <name>test user</name>
                      </Item>
                  </related_id>
              </Item>
          </Relationships>
        </Item>
      </AML>
      
    
Reply
  • I was on here to try to find how to turn this into a server method, but here is how to add an existing identity as member to an identity. Just a different snippet that works for me. It does: Edit Identity / Add Member / Get Identity to add as member.

    
    <AML>
        <Item type="Identity" action="edit" where="[identity].name='All Employees'">
          <Relationships>
              <Item type="Member" action="add">
                  <related_id>
                      <Item type="Identity" action="get">
                          <name>test user</name>
                      </Item>
                  </related_id>
              </Item>
          </Relationships>
        </Item>
      </AML>
      
    
Children
No Data