Update User groups Record using loadusers

 5 Replies
 0 Subscribed to this topic
 18 Subscribed to this forum
Sort:
Author
Messages
Roger French
Veteran Member
Posts: 549
Veteran Member
New Poster
New Poster
Congrats on posting!
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: 549
Veteran Member
New Poster
New Poster
Congrats on posting!
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: 549
Veteran Member
New Poster
New Poster
Congrats on posting!
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
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
You need to post XML content as an attachment.
Thanks for using the LawsonGuru.com forums!
John