Previous Next

BUFFER-TENANT-ID attribute
The tenant ID (as an integer) of the tenant that owns the current record in the buffer specified by a buffer handle.
Data type:
Access:
Applies to:
If the buffer is not populated with a record, this attribute returns the Unknown value (?). If the buffer is for a shared table, a temp-table, or for the default tenant of a multi-tenant table, this attribute returns the value zero (0).
If the buffer contains a record for a tenant group and the user is a super tenant, this attribute returns the tenant ID of one of the members of the group. The tenant ID returned is indeterminate, but is always the tenant ID of a tenant in the group.
For a regular tenant, the record in the buffer always belongs to that tenant. So, this attribute always returns the user’s own tenant ID. This is true even if the record belongs to a tenant group.
Notes:
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.