baanenzo1
20th October 2005, 20:13
Function tt.session.permission(..) does not seem to be supported anymore in B50b/c. Probably replaced with some other function that reads the AMS tables.

Does anyone have more information on this ? I would like to have a function that tells me what permissions a user has to a certain session.

PS db.permission(..) to check table permissions does still work.

baanenzo1
20th October 2005, 21:56
The new function for this is:

get.session.permission()

Syntax
long get.session.permission( string session(13) )
Description
Retrieves the permission of the session (session) in a bit.or (see return
values).
Return values
0 Error, session not found
SESSION_NO_PERMISSION
SESSION_DELETE_PERMISSION
SESSION_INSERT_PERMISSION
SESSION_MODIFY_PERMISSION
SESSION_DISPLAY_PERMISSION
SESSION_PRINT_PERMISSION
Context
3GL library function.
Related topics