PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12/02/2017 9:37 AM by  Steven Gray
How to create security groups in bulk
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Jey
Private
Private
(9 points)
Posts:5


Send Message:

--
04/20/2017 4: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
    Private
    Private
    Veteran Member
    (1203 points)
    Veteran Member
    Posts:401


    Send Message:

    --
    04/20/2017 7: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/02/2017 9:37 AM

    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.