OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: sylvain lareuze on August 05, 2021, 07:26:10 AM

Title: ARSXML export group
Post by: sylvain lareuze on August 05, 2021, 07: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
Title: Re: ARSXML export group
Post by: Justin Derrick on August 26, 2021, 08: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.
Title: Re: ARSXML export group
Post by: sylvain lareuze on October 06, 2021, 07: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