Re: [Dev] How to Delete Tenant admin user

2015-02-16 Thread Johann Nallathamby
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.

Re: [Dev] How to Delete Tenant admin user

2015-02-15 Thread Danushka Fernando
IMO we should say to delete realm to user store manager and it should delete all child nodes of the realm. For example for LDAP case it should delete LDAP tree for the tenant which will delete the users. WDYT? Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile :

Re: [Dev] How to Delete Tenant admin user

2015-02-15 Thread Shashika Karunatilaka
adding dev@ On Mon, Feb 16, 2015 at 10:12 AM, Shashika Karunatilaka 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 t