Products Downloads


French version


 

 

This function is used to test whether the user authenticated for the current HTTP session is part of the role set as a parameter.

 

Context

  • Adelia Web client

 

Parameters

ALPHA (n)

RoleName

Role name.

BOOL

ReturnCode

Return code for the operation:

*TRUE if the user authenticated for the HTTP current session is part of the role 'RoleName'.

*FALSE in all other cases.

 

Example

BOOL

ReturnCode

ALPHA(32)

RoleName

 

RoleName = 'admin'

CALL_DLL 'VATOOLBX' 'VaToolBxAwsIsUserInRole' RoleName ReturnCode

 

=> output l ReturnCode = *TRUE if the user authenticated for the http current session is part of the role 'admin'.

 

List of the VaToolBx functions by topic

 

 

↑ Top of page