Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Info

Non-static operation.

Multiexcerpt
MultiExcerptNamedefinition

This operation returns if the current user has the specified role assigned.

 You need a current security service object to call this operation (which you can get using getSecurityService).

Interfaces

  • hasRole( role : String ) : Boolean

Parameters

NameTypeDirectionDescriptionAllowed Values / Example
roleStringinSpecify a role that should be checked in respect to the current user. acme_manager


BooleanreturnReturns true or false depending on if the current user has the role specified with role assigned.trueThe user has the specified role.
falseThe user does not have the specified role.
Panel
titleOn this Page:
Table of Contents
Panel
titleRelated Pages:

Otp
Floatingfalse

rp