On Thu, Nov 9, 2017 at 9:56 AM, Ushani Balasooriya <ush...@wso2.com> wrote:
> Thanks Isura and Irham, > > I think still I need to create a group in SCIM call more like a role. Then > I can even use *addRemoveUsersOfRole *in admin services*. *My requirement > was to delete selected users belong to different roles. > > I think what Isura has mentioned is an option to proceed. But doesnt it > make multiple service calls? > Yes. It does multiple service calls. We can create a custom SOAP/REST service and delete users though a single service call. You can also try SCIM2 bulk endpoint. [1]. [1] https://docs.wso2.com/display/ISCONNECTORS/Configuring+SCIM+ 2.0+Provisioning+Connector#ConfiguringSCIM2.0ProvisioningConnector-/ BulkEndpoint Thanks Isura. > > On Thu, Nov 9, 2017 at 9:53 AM, Isura Karunaratne <is...@wso2.com> wrote: > >> Hi Ushani, >> >> >> >> On Thu, Nov 9, 2017 at 9:10 AM, Ushani Balasooriya <ush...@wso2.com> >> wrote: >> >>> Hi IAM Team, >>> >>> During the implementation of a third party web app to manage users, I >>> wanted to have a feature where I can select few users and delete them at >>> once. >>> >>> Then I noticed in our admin services we have only below methods to >>> delete users in our *UserAdmin* service. >>> >>> - *addRemoveUsersOfRole* - Delete users only in a particular role >>> - *deleteUser* - Delete one selected user >>> >>> In *deleteUser* method allow only one user to delete. >>> >>> Can you please advice whether this is designed and implemented due to >>> any particular reason or is it a lacking feature in our system? Or is there >>> any other mechanism for me to delete set of users at once? >>> >> >> C4 user core APIs does not support delete multiple users at once. You can >> loop the deleteUser API to delete set of users. >> >> Thanks >> Isura. >> >>> >>> Appreciate your quick response. >>> >>> Thanks, >>> -- >>> *Ushani Balasooriya* >>> Associate Technical Lead - EE; >>> WSO2 Inc; http://www.wso2.com/. >>> Mobile; +94772636796 >>> >>> >> >> >> -- >> >> *Isura Dilhara Karunaratne* >> Associate Technical Lead | WSO2 >> Email: is...@wso2.com >> Mob : +94 772 254 810 <+94%2077%20225%204810> >> Blog : http://isurad.blogspot.com/ >> >> >> >> > > > -- > *Ushani Balasooriya* > Associate Technical Lead - EE; > WSO2 Inc; http://www.wso2.com/. > Mobile; +94772636796 > > -- *Isura Dilhara Karunaratne* Associate Technical Lead | WSO2 Email: is...@wso2.com Mob : +94 772 254 810 <+94%2077%20225%204810> Blog : http://isurad.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev