Delete user from group with xmlaccess
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Delete user from group with xmlaccess




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Delete user from group with xmlaccess  
apriam


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 07:48 AM

Hello all!
I have the script, that creates new group:

<portal action="locate">
<group action="create" name="cn=grp_test,ou=groups,dc=org,dc=ru"/>
</portal>

and the script that adds user into this group:

<group action="update" name="cn=grp_test,ou=groups,dc=org,dc=ru">
<member-user id="uid=test01,ou=people,dc=org,dc=ru" update="set"/>
<group>

but I was not able to find example of script, which removes user from group 
without that group deleting.
How can I delete user from group?

I'm using WPS 5.1.0.1.





[ Post a follow-up to this message ]



    Re: Delete user from group with xmlaccess  
fang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-05 01:49 AM

This doesn't look possible. The items can be deleted from the portal
repository must be a type of resource with an objectid, and the member-user
is not treated as a type of resource.

"apriam" <apriam@novsu.ac.ru> wrote in message
news:1881642906.1123140754665.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hello all!
> I have the script, that creates new group:
>
>     &lt;portal action="locate"&gt;
>         &lt;group action="create"
name="cn=grp_test,ou=groups,dc=org,dc=ru"/&gt;
>     &lt;/portal&gt;
>
> and the script that adds user into this group:
>
>     &lt;group action="update"
name="cn=grp_test,ou=groups,dc=org,dc=ru"&gt;
>         &lt;member-user id="uid=test01,ou=people,dc=org,dc=ru"
update="set"/&gt;
>     &lt;group&gt;
>
> but I was not able to find example of script, which removes user from
group without that group deleting.
> How can I delete user from group?
>
> I'm using WPS 5.1.0.1.







[ Post a follow-up to this message ]



genqny is offline     Re: Delete user from group with xmlaccess  
genqny


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for genqny Click here to Send genqny a Private Message Find more posts by genqny Add genqny to your buddy list
 
08-15-05 01:20 PM

Hi Apriam,

I found your post very useful for our requirements. We have to migrate users
 from a legacy database to an oracle database that is accessed by portal ser
ver for authentication.

I was wondering if you provide me with some insight on how to use the xml sc
ripts that you mentioned in your post along with some code snippets (if poss
ible)

Thanks very much for the help








quote:
Originally posted by apriam Hello all! I have the script, that creates new group: &lt;portal action="locate"&gt; &lt;group action="create" name="cn=grp_test,ou=groups,dc=org,dc=ru"/&gt; &lt;/portal&gt; and the script that adds user into this group: &lt;group action="update" name="cn=grp_test,ou=groups,dc=org,dc=ru"&gt; &lt;member-user id="uid=test01,ou=people,dc=org,dc=ru" update="set"/&gt; &lt;group&gt; but I was not able to find example of script, which removes user from group without that group deleting. How can I delete user from group? I'm using WPS 5.1.0.1.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register