GET-EFFECTIVE-TENANT-ID( database-name )
If a super tenant executes this function and they have already executed the SET-EFFECTIVE-TENANT function, this function returns the tenant ID of any effective tenant that is in scope. If they have not executed the SET-EFFECTIVE-TENANT function or there is no effective tenant in scope, this function returns the default tenant ID (0).
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |