UserRealmService realmService =
(UserRealmService)
PrivilegedCarbonContext.getThreadLocalCarbonContext()
.getOSGiService(UserRealmService.class);
String tenantDomain = realmService.getTenantManager().getDomain(tenantId);
Amalka Subasinghe
Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
On Thu, Feb 11, 2016 at 7:32 PM, Lahiru Manohara <[email protected]> wrote:
> Hi All,
>
> I am writing a web application for AppCloud and i need to get tenant
> domain from tenant id. The application in super tenant.
>
> Thanks!
>
> --
> Best regards,
>
> *Lahiru Manohara*
> *Software Engineer*
> Mobile: +94716561576
> WSO2 Inc. | http://wso2.com
> lean.enterprise.middleware
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev