Versions Compared
compared with
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 | ||
---|---|---|
| ||
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
Name | Type | Direction | Description | Allowed Values / Example | |
---|---|---|---|---|---|
role | String | in | Specify a role that should be checked in respect to the current user. | acme_manager | |
Boolean | return | Returns true or false depending on if the current user has the role specified with role assigned. | true | The user has the specified role. | |
false | The user does not have the specified role. |
Panel | ||
---|---|---|
| ||
|
Panel | ||
---|---|---|
|
Otp | ||
---|---|---|
|
Overview
Content Tools