loaduser.xml

Sort:
You are not authorized to post a reply.
Author
Messages
mil0n023
Veteran Member
Posts: 63
Veteran Member

    Has anyone automated the loaduser.xml for adding Wen Users to Portal in LSF9.0?

    If so, how did you do it? We have anywhere from 20-50 New Hires per week, and ALL New Hires use Employee Self-Service, but do not have an LID acct. In the past we used Add-Ins (Query & Upload) to RD30, but this is no longer available on LSF9 (RD30) so, I am curious if anyone has automated and used the loaduser.xml in LSF9?

    Any info is greatly appreciated.

     

     

    M. C. Miller
    Analyst
    Salem, Oregon
    John Henley
    Senior Member
    Posts: 3348
    Senior Member

      See Alex Wolff's "Guest Spot: LSF9 'loadusers' Utility for Batch User Creation" (https://www.danalytics.co...rchive/2007-06.htm).

      Thanks for using the LawsonGuru.com forums!
      John
      mondrar
      Advanced Member
      Posts: 35
      Advanced Member

        Attached is a shell script that uses the loadusers.xml file. It works great, and has saved me a ton of time when creating accounts. I have several versions, but this is a simple one to get you started:

        Attachments
        cdodrzywolski
        Basic Member
        Posts: 21
        Basic Member
          Hey guys. I am looking to do the same thing. I saw the article you mentioned and it looks great for adding users, but what about deleting them?

          Thanks
          Roger French
          Veteran Member
          Posts: 545
          Veteran Member
            I would not recommend having a script to delete/remove users, unless maybe you've got several each week you're trying to remove (more than 25 or 30 for example). The loadusers and ssoconfig utilities do not have have options within them to automatically delete/remove users. (If they do, someone please correct me.)
            You can of course delete multiple users concurrently within the Sec Admin and RM tools.

            You could probably script something to 'inactivate' users, or remove their role/services/security/status.

            -Roger


            Posted By Chris on 11/17/2008 2:15 PM
            Hey guys. I am looking to do the same thing. I saw the article you mentioned and it looks great for adding users, but what about deleting them?

            Thanks


            cdodrzywolski
            Basic Member
            Posts: 21
            Basic Member
              Ok Thanks Roger. We do have weekly adds/and deletes probably more than 25 or so, but I will keep the idea of the inactivating users in mind.

              I did call this into Lawson and thier response was: "there is no lawson delivered utility that will mass delete users."

              Thanks for the help.
              Kwane McNeal
              Veteran Member
              Posts: 479
              Veteran Member
                I disagree with Roger on this one, as I have written a suite of utilities to do just this:
                Your options are:
                1) Update LDAP directly. This is what Lawson ultimately does. It's not simple, but I have done it with NO reprocusions

                2) Update LDAP via Lawson classes. Check out info on LHC.jar, lawrm.jar and lawsec.jar. These contain classes with public interfaces to do the deletes

                3) Emulate the SecurityAdministrator directly. This can be done, and I know one person who wrote classes for it.

                Kwane
                cdodrzywolski
                Basic Member
                Posts: 21
                Basic Member
                  Ah yes that does sound good. I may start with 1 or 2 for now and see how far I can get with that. I would rather delete the users because we typically do that when an employee is terminated. Deleting thier user acount prevents an ever growing list of accounts.

                  Thanks if i have any luck i'll post back.
                  John Henley
                  Senior Member
                  Posts: 3348
                  Senior Member
                    Another option would be to populate an .ldif file with deletes and use ldapmodify to process that file. You'd have to gain an understanding of all the entries you'd need to put in the file, but it wouldn't be that hard.
                    Thanks for using the LawsonGuru.com forums!
                    John
                    Roger French
                    Veteran Member
                    Posts: 545
                    Veteran Member

                      I guess to clarify, my standpoint on mass deleting users is "no" it can't be done with the loaduser or ssoconfig, but "yes" it can be done with methods stated by Kwane and John. Of course you've got to have the tools and skills to be able to do that.

                      Good luck,
                      Roger




                      Posted By Kwane McNeal on 11/18/2008 1:48 PM
                      I disagree with Roger on this one, as I have written a suite of utilities to do just this:
                      Your options are:
                      1) Update LDAP directly. This is what Lawson ultimately does. It's not simple, but I have done it with NO reprocusions

                      2) Update LDAP via Lawson classes. Check out info on LHC.jar, lawrm.jar and lawsec.jar. These contain classes with public interfaces to do the deletes

                      3) Emulate the SecurityAdministrator directly. This can be done, and I know one person who wrote classes for it.

                      Kwane


                      You are not authorized to post a reply.