GetObsoleteTenantId() function

  

Hi,

In a Multi-tenant application, what is the best way to get the TenantId in use (current) ?

In the Built-in Functions, there is a GetObsoleteTenantId(), it's returning the current TenantID, is this function obsolete for a reason?


Kind Regards,

Paulo Reis


Solution

Hi,

The TenantId now is a Site Property.

Best regards,

Marcelo Ferreira

Solution