Develop > Programming Guide > System Language reference > List: RAD functions > RAD function: sysinfo.get("AuthMode")

RAD function: sysinfo.get("AuthMode")

A RAD function that returns the authentication mode of the current user:

  • Returns db if using password authentication and the password exits in database.
  • Returns ldap if using password authentication and the password exits in LDAP.
  • Returns tso if using TSO.
  • Returns lwsso if using LWSSO.

Function

sysinfo.get("AuthMode")

Format

$info=sysinfo.get("AuthMode")

Example

$info=sysinfo.get("AuthMode")

After execution, the value of $info is set to the authentication mode of the current user.