Update User groups Record using loadusers

Sort:
You are not authorized to post a reply.
Author
Messages
Roger French
Veteran Member
Posts: 545
Veteran Member
    Hello,
    I can't find the syntax used in the XML when updating/reloading groups for users using the loadusers command.

    Does anyone know what it is? In the XML there is a line in the XML for a user which is stated (I think)  "UPDATE=TRUE". But, I don't know the exact syntax, and I can't find any documentation on it.
    This is AIX, with LSF9.0.0.5

    Anyone know what it is?

    Thanks in advance,
    Roger

    MattM
    Veteran Member
    Posts: 82
    Veteran Member
      You have it right as far as the xml syntax goes. Just change false to true. To get the file to actually update the user, there is a -o switch to "overwrite" which will update the user. No changes will be made to the user without it.
      Roger French
      Veteran Member
      Posts: 545
      Veteran Member
        Is the syntax something like this then to update the groups and the user record?





                  Name = "John Smith" Firstname = "Joe" LastName = "Smith"
               CheckLS = "NO" Role = "" Email = "rfrench5@gmail.com" Access = "N"
               Group = "Employee Self Serv" PortalAdmin = "Y" Addins = "DENY"
               PortalRole = "" ProductLine = ""/>

        MattM
        Veteran Member
        Posts: 82
        Veteran Member
          Didn't get your syntax... The command would be #loadusers -o -f
          Roger French
          Veteran Member
          Posts: 545
          Veteran Member
            sorry for some reason it's not coming through completely on here.. don't know why.

            Anyways...
            The "UPDATE=TRUE".. does it come on the header right after the
            Example
            ..
            ..>


            John Henley
            Senior Member
            Posts: 3348
            Senior Member
              You need to post XML content as an attachment.
              Thanks for using the LawsonGuru.com forums!
              John
              You are not authorized to post a reply.