Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Security API > Methods

Security API: getOwnerId

Scroll Prev Next More


This function gets the OwnerID for a specific table when Advanced Security options like Users can see and edit their own data are in use.





the name of the table.

Return value

Returns the OwnerID for the specified table.


This example shows how to output the current user data:


$table = "table1";
echo (Security::getOwnerId($table));

Sample output


See also:

Security API: setOwnerId()

Advanced security settings

About Security API


Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software