PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11/24/2008 12:18 PM by  Roger French
loaduser.xml
 9 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mil0n023
Veteran Member
(137 points)
Veteran Member
Posts:63


Send Message:

--
03/18/2008 11:22 AM

    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
    Private
    Private
    Senior Member
    (9563 points)
    Senior Member
    Posts:3205


    Send Message:

    --
    03/18/2008 3:10 PM

    See Alex Wolff's "Guest Spot: LSF9 'loadusers' Utility for Batch User Creation" (https://www.danalytics.com/guru/let...7-06.htm).

    Thanks for using the LawsonGuru.com forums!
    John
    mondrar
    Private
    Private
    Advanced Member
    (85 points)
    Advanced Member
    Posts:35


    Send Message:

    --
    08/03/2008 11:45 PM

    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
    (47 points)
    Basic Member
    Posts:21


    Send Message:

    --
    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
    Roger French
    Private
    Private
    Veteran Member
    (1266 points)
    Veteran Member
    Posts:522


    Send Message:

    --
    11/18/2008 10:24 AM
    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
    (47 points)
    Basic Member
    Posts:21


    Send Message:

    --
    11/18/2008 12:02 PM
    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
    Private
    Private
    Veteran Member
    (1197 points)
    Veteran Member
    Posts:399


    Send Message:

    --
    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
    cdodrzywolski
    Basic Member
    (47 points)
    Basic Member
    Posts:21


    Send Message:

    --
    11/18/2008 1:54 PM
    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
    Private
    Private
    Senior Member
    (9563 points)
    Senior Member
    Posts:3205


    Send Message:

    --
    11/18/2008 7:57 PM
    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
    Private
    Private
    Veteran Member
    (1266 points)
    Veteran Member
    Posts:522


    Send Message:

    --
    11/24/2008 12:18 PM

    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.