Hi Vinuri, You can use org.wso2.carbon.utils.multitenancy.MultitenantConstants to get super tenant Id and domain.
Thanks Godwin On Wed, Jan 21, 2015 at 5:08 PM, Vinuri Perera <[email protected]> wrote: > Hi All, > > Im working on an API handler in cloud. I want to get the super tenant ID > [-1234] and Domain. Instead of setting those as constant data in the > handler. Is there any method or way for me to get those data from carbon? > > Thank you, > Best Regards, > ~Vinuri~ > -- > Vinuri Perera > Software Engineer | WSO2 Inc > > M : 0711518805 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* twitter: https://twitter.com/godwinamila
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
