How to create security groups in bulk

Sort:
You are not authorized to post a reply.
Author
Messages
Jey
Posts: 5

    Hi, 

    I understand we can creating a security group using Lawson RM administrator tool .I have to create 350 groups in security . Is there an automated way or utility to do this ?

     

    Kwane McNeal
    Veteran Member
    Posts: 479
    Veteran Member
      There is a method for bulk loading.

      You basically create an XML file with the group names, use ldifgen to convert it to the LDIF, and use ldapadd or ldifde to load them.
      The other option is to write the LDIF yourself, and load using ldapadd/ldifde

      If you're also trying to load user assignments, there are additional considerations related to method used.
      Steven Gray
      Advanced Member
      Posts: 21
      Advanced Member

        You can also use the loadusers command with an xml file containing only the ROLEDATA parent node and ROLE ID entries. I find format easier to develop from scratch than an LDIF file. 

        You can find a basic example in the Lawson Administration: Resource and Security Guide. Keep the parent nodes for GROUPDATA, USERDATA, and IDENTITIES, but omit their dependent entries. 

        You are not authorized to post a reply.