$hasAccess

Examines if the named accesses are granted for the current user.
Syntax
    $hasAccess{access_name_1}{access_name_2} ... {access_name_n}
DocumentationExamines if the named accesses are granted for the current user:

    Parameters:
      access_name_1 through access_name_n, the accesses to examine if granted for the current user.
      Valid access names are:
        - ACCESS_CREATE
        - ACCESS_DELETE
        - ACCESS_READ
        - ACCESS_UPDATE
        - ACCESS_VISIBLE
        - ACCESS_DATABASE_CREATE
        - ACCESS_DATABASE_REMOVE
        - ACCESS_DATABASE_READ
        - ACCESS_DATABASE_UPDATE
        - ACCESS_ALL

    Returns:
      1 if and only if all of the named accesses are granted for the current user; 0 otherwise.
Examples
Example 1:
    $hasAccess {ACCESS_DELETE}

    Result:
    if current user has access right to delete:
    1 (true)
    if current user has no access right to delete:
    0 (false)
Example 2:
    $if{$hasAccess {ACCESS_CREATE}}
      {<A HREF="abc.html">create abc<A>}
        {<A HREF="login.html">login to get create access<A>}

    Result 2:
    if current user has access right to create:
    create abc (hyperlink)
    if current user has no access right to create:
    login to get create access (hyperlink)
GroupSecurity
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters <unlimited>