Go to previous topic
Go to next topic
Last Post 12/2/2017 2:37 PM by  Steven Gray
How to create security groups in bulk
 2 Replies
 0 Subscribed to this topic
 90 Subscribed to this forum
Author Messages
Jey
Private
Private
(9 points)
Posts:5


Send Message:

--
4/20/2017 8:20 PM

    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
    President
    Private
    Veteran Member
    (1437 points)
    Veteran Member
    Posts:479


    Send Message:

    --
    4/20/2017 11:20 PM
    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
    Private
    Private
    Advanced Member
    (61 points)
    Advanced Member
    Posts:21


    Send Message:

    --
    12/2/2017 2:37 PM

    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. 



    ---