Returns the mail signature of the indicated user.
1 system.user.getMailSignature
<system.user.getMailSignature code='code'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acode | string | User code. |
Returns | |
---|---|
Type | Description |
string | Mail signature. |
Example
Obtains the mail signature of the user by default.
Copy
<xsql-script name='system_user_getMailSignature_sample1'> <body> <println> <system.user.getMailSignature /> </println> </body> </xsql-script>
If you do not pass the user code via the attribute code, the system returns the value related with the user which executes the command.
Example
Obtains the mail signature of a specific user.
Copy
<xsql-script name='system_user_getMailSignature_sample2'> <body> <println> <system.user.getMailSignature code='bpr'/> </println> </body> </xsql-script>
Informing the attribute code, the system returns the value related with the specified user code.