I don't think we allow to delete tenant admin user currently. This could leave the system in an inconsistent state. We only allow to delete the whole tenant. In JDBC how it happens is we use the cascading delete function of the database to do this. For LDAP user stores we manually delete the OUs.
On Mon, Feb 16, 2015 at 10:22 AM, Shashika Karunatilaka <shashi...@wso2.com> wrote: > adding dev@ > > On Mon, Feb 16, 2015 at 10:12 AM, Shashika Karunatilaka < > shashi...@wso2.com> wrote: > >> Hi, >> >> I want to delete all the users associated to a tenant, to do that i'm >> taking the tenant's realm and get all the users and delete them. but when >> deleting admin user it doesnt allow to delete. I noticed that this is >> because when getting the tenant's realm it loads the tenant. >> How to achieve this?? >> >> Thank you. >> >> -- >> Shashika Prabath Karunatilaka, >> Software Engineer, >> WSO2, Inc: http://wso2.com/ >> mobile : +94 77 7487792 >> > > > > -- > Shashika Prabath Karunatilaka, > Software Engineer, > WSO2, Inc: http://wso2.com/ > mobile : +94 77 7487792 > -- Thanks & Regards, *Johann Dilantha Nallathamby* Associate Technical Lead & Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+94777776950* Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev