Products Downloads


French version


 


This function tests if the user authenticated for the current Cloud session belongs to the role passed as a parameter.


Context

  • Adelia Cloud client.


Paramètres

ALPHA (n)

RoleName

Name of role.

BOOL

ReturnCode

Operation return code:

*TRUE if the authenticated user for the current cloud session belongs to the 'RoleName' role.

*FALSE in all other cases.


Example

BOOL

ReturnCode

ALPHA(32)

RoleName


RoleName = 'admin'

CALL_DLL 'VATOOLBX' 'VaToolBxCloudIsUserInRole' RoleName ReturnCode


=> as output 1 ReturnCode = *TRUE if the authenticated user for the current http session belongs to the 'admin' role.



List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette