Clarity

Expand all | Collapse all

How to Remove a User from a Group using Process

Jump to Best Answer
  • 1.  How to Remove a User from a Group using Process

    Posted 07-06-2016 02:45 AM

    Hey Everyone,
    If we Xog a User into  a Group he will be added if the XOG gets executed successfully.
    How to remove a particular User or group of Users from a Group through Processes , Is there any Tag or attribute which helps us to do this.
    Could you please help me out in achieving this, here is my XML skeleton using for Xoggin in a User to a Group.

     

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_group.xsd">

      <Header action="write" externalSource="NIKU" objectType="group" version="14.3.0.298"/>

      <groups>

        <group code="temp_group" isActive="true">

         

          <nls languageCode="en" name="temp group"/>

          

          <members>

            <resource userName="admin"/>

          </members>

         

        </group>

      </groups>

     

    </NikuDataBus>



  • 2.  Re: How to Remove a User from a Group using Process

    Posted 07-06-2016 04:01 AM

    You have to add the complete=true and include all the resources that you do want to remain in the group.



  • 3.  Re: How to Remove a User from a Group using Process

    Posted 07-06-2016 05:39 AM

    Hello David,
    Could you please explain me in Detail. I didn't Understand it correctly.



  • 4.  Re: How to Remove a User from a Group using Process
    Best Answer

    Posted 07-06-2016 06:02 AM

    You add the complete=true to the XML and then include all the members of the group that you want to remain in the group (i.e. don't include the one resource you want to remove).

     

    Some discussions here ;

     

    How to remove group rights using XOG

    Remove resources from a security group using XOG



  • 5.  Re: How to Remove a User from a Group using Process

    Former Employee
    Posted 07-08-2016 02:59 PM

    Hi JayaSantoshKumar - Did Dave_3.0's response help answer your question? If so please mark as Correct Answer. Thanks!