| Syntax | $getPublicUserProperty{property_name}{default_value} |
| Documentation | Returns the value of the named public user property:
Parameters:
property_name, the name of the public user property whos value is requested.
default_name, a optional parameter to specify a return value in case the named property deos not exist.
Returns:
the value of the named public user property.
Throws:
java.lang.IllegalArgumentException if the named public user property does not exist and no 'default_value' specified. |
| Examples |
Get the value of the public user property named 'some_property':
$set{name}{some_property}
$set{value}{no_value}
$if{$existsPublicUserProperty{$get{name}}}
{
$set{value}{$getPublicUserProperty{$get{name}}}
}
The following expression is equivalent:
$set{value}{$getPublicUserProperty{$get{name}}{no_value}}
The following expression could cause an exception to be thrown if the property named 'some_property' does not exist:
$set{value}{$getPublicUserProperty{$get{name}}} |
| Group | Special |
| Minimum required transaction-mode: | READ |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 2 |