Hi Anuruddha,

To get a specific tenant by using the tenant id you have to login from that
tenant first.

Thanks,
Chathura.

On Thu, Jul 30, 2015 at 10:50 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Anuruddha,
>
> AFAIK that is the expected behavior. Super tenant id is -1234
>
> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.base/src/main/java/org/wso2/carbon/base/MultitenantConstants.java#L34
>
> Thanks
> /Thusitha
>
> On Thu, Jul 30, 2015 at 10:18 AM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi,
>>
>> I noticed that org.wso2.carbon.user.core.tenant.TenantManager class
>> getTenant() method doesn't return super tenant for super tenantId(-1234).
>>
>> Just wanted to know whether this is the expected behaviour ?
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <thili...@wso2.com>nurudd...@wso2.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog      alokayasoya.blogspot.com
> About    http://about.me/thusithathilina
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to