Hello,
I'm wondering how to get current user id if I want to use it in an sql query. Actually I want to set row level permissions: all records belongs to specific "groups" and a user can see only those records, which belong to a group, for which the user have permission (permissions are stored...