Summary
This supplier can be used from any context, and provides information about global values, such as the current user, the date/time, etc.
Details
| Name: |
Global Supplier |
| Prefix: |
global (required) |
| Supported Content: |
N/A |
| Provided By: |
Reporting Plugin, from version 1.0.2 |
Keys Supported
The following are the list of keys which this supplier will return a value for.
| Key |
Content Types |
Return Type |
Description |
| current date | | Date | The current date/time. |
| current user | | User | The current user. |
Examples
Display the current user and time.
Which will look like this:
Welcome, , it is now 4:06 PM on January 6, 2009.
The default behavior of the current user key is to return a full link to the user name. If you want to simply get the user's name without creating a link, use something like this instead:
{report-info:global:current user>user:full name}Here's another example that just displays the email:
{report-info:global:current user>user:email}