bahan w wrote:
> Hello everyone !
> 
> I send you this mail because I'm using the python libraries and I'm
> encountering a blocking problem when trying to use the
> api.Command['group_remove_member'] command.
> 
> I don't really know what is the syntax of this command.
> I know how to make work the api.Command['user_show'](username) work but
> I don't really know for the group_remove_member.
> 
> What is the right syntax for this function ? What may I put in the xxx
> below ?
> api.command['group_remove_member'](u'group1')xxx

res = api.Command.group_remove_member(u'somegroup', user=u'someuser')

Removing non-members will not raise an exception. You need to look at
the failed entry in the result returned.

rob

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Reply via email to