Author Topic: ARSXML export group  (Read 1081 times)

sylvain lareuze

  • Guest
ARSXML export group
« on: August 05, 2021, 12:26:10 AM »
Hello,

On Aix with CMOD v10.1, I try to export all information in a group

<?xml version="1.0" encoding="UTF-8" ?>
<!-- 10.1.0.6 -->
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="/usr/lpp/ars/xml/ondemand.xsd">

<group name="CASA_SI">
</group>
</onDemand>

I execute the command : /usr/lpp/ars/bin/arsxml export -h archive -u admin -r pl -i group.xml -o groupout.xml -v
and all information I have is that :

<?xml version="1.0" encoding="UTF-8" ?>
<!-- 10.1.0.5 -->
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ondemand.xsd">

   <group name="CASA_SI" description="Accès archive SI" updateDate="03/05/21 11:41:22" updateUserid="ADMPRT1" gid="1080122" >
      <user name="VALENCON" />
      <user name="MARANHAO" />
      <user name="GAUDEFR" />
      <user name="LHERIAU" />
      <user name="CHEL" />
   </group>
</onDemand>

I don't have any information on Application Group and Folder in the Group.
How can I have all information in Group (name, user, Application Group and permissions, Folder and permissions)?

thanks

Sylvain

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ARSXML export group
« Reply #1 on: August 26, 2021, 01:07:09 PM »
It looks like you're confusing 'group' (which is a group of users) and 'Application Group'.

You need to export each of the items individually - Users, Groups, Application Groups, etc.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

sylvain lareuze

  • Guest
Re: ARSXML export group
« Reply #2 on: October 06, 2021, 12:13:11 AM »
Hi Justin,

I find the solution,
to add a userGroup, I use XML on ApplicationGroup and on Folder
to add user in userGroup, I use XML on Group.

It doesn't exist a relation in xml to update from Group (user group) , applicationGroup or Folder. Only user

As you say We need to export an update individually ApplicationGroup (add Group), Folder (add Group) and 'user' Group (add User)

Thanks

Sylvain