On Thu, Sep 22, 2016 at 1:10 PM, wenxzhen <wenxing.zh...@qq.com> wrote:

>
> Thanks to Abimaran.
>
> Another question is which Admin Service is responsible of inviting a user
> into a tenant? I find the UserAdmin service, but didn't find any item
> related with invitation.
>

You have to invoke the 'RemoteUserStoreManagerService' with the tenant to
which you want to add the users. There is an opration called 'addUser'


>
> Regards, Wenxing
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Abimaran Kugathasan";<abima...@wso2.com>;
> *发送时间:* 2016年9月22日(星期四) 下午3:58
> *收件人:* "wenxzhen"<wenxing.zh...@qq.com>;
> *抄送:* "dev"<dev@wso2.org>;
> *主题:* Re: [Dev] What's the best way to create a tenant?
>
> Hi Wenxing,
>
> You have to use TenantMgtAdminService for creating tenants. Java API can
> be used for consuming/creating requests and response on top of that SOAP
> service.
>
> You can check a sample service we have used here [1]
>
>
> [1] : https://docs.wso2.com/display/AM200/WSO2+Admin+Services
>
> On Thu, Sep 22, 2016 at 12:51 PM, wenxzhen <wenxing.zh...@qq.com> wrote:
>
>> Please kindly advice as I need to settle down the solution.
>>
>> Thank you very much
>> Regards, Wenxing
>>
>>
>> ------------------ Original ------------------
>> *From:* "wenxzhen"<wenxing.zh...@qq.com>;
>> *Date:* 2016年9月22日(星期四) 下午2:59
>> *To:* "dev"<dev@wso2.org>;
>> *Subject:* [Dev] What's the best way to create a tenant?
>>
>> Dear all,
>>
>> In order to create a tenant from the user input, what's the best way to
>> make it? Per my little knowledge, there are at least 2 ways:
>>
>>    1. Carbon had already provided the Java APIs
>>    2. making use of the TenantMgtAdminService
>>
>> If I wanna use the way 1, any potential risk that need to take care?
>>
>> Thanks, Wenxing
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820

<http://stackoverflow.com/users/515034>
<http://lk.linkedin.com/in/abimaran>  <http://www.lkabimaran.blogspot.com/>
<https://github.com/abimarank>  <https://twitter.com/abimaran>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to