Author Topic: how to delete delete permission in application group using arsxml  (Read 3894 times)

ewirtz

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Hello,

does anybody know how to delete permissions in folders and application groups using ARSXML.

regards

Egon

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: how to delete delete permission in application group using arsxml
« Reply #1 on: January 12, 2012, 09:22:53 AM »
I haven't done a delete yet but I believe it should just be something like:

ARSXML UPDATE -h archive -u user -p password -i "update.xml"

And update.xml would contain your xml:

<?xml version="1.0" encoding="IBM-1047" ?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noName ........

 <applicationGroup name="OPCREP" >
  <permission task="delete" user="username" <- your permissions/user you wish to delete />
 </applicationGroup>
</onDemand>

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: how to delete delete permission in application group using arsxml
« Reply #2 on: January 12, 2012, 10:02:02 AM »
Just reread your subject line.  Did you want to delete a users delete permissions?  If so, that's just an update of the permissions in the application group
e.g:

<?xml version="1.0" encoding="IBM-1047" ?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noName ........

 <applicationGroup name="AGGROUP" >
 <permission task="update" user="username" docDeletePerm="No"  />
</applicationGroup>
</onDemand

ewirtz

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: how to delete delete permission in application group using arsxml
« Reply #3 on: January 16, 2012, 12:40:51 AM »
Hi Greg,

it has worked fine with the token ' <permission task="delete" user="username" <- your permissions/user you wish to delete />'. 

I haven't known this possibility.

Thanks

Egon