Last active
April 11, 2016 10:11
-
-
Save splinter/e90eebc36b04804faea36114193be33b to your computer and use it in GitHub Desktop.
Accessing tenant details for the current user in the ES/G-Reg Store
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tenantApi = require('/modules/tenant-api.js').api; | |
var tenantDetails = tenantApi.createTenantDetails(request,session); | |
print('Tenant Id: '+tenantDetails.tenantId); | |
print('Tenant domain: '+tenantDetails.domain); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment