Obtains the phone number for SMS shipments of the indicated user.

1 system.user.getSMSAddress

<system.user.getSMSAddress code='code'/>
Example

Obtain the phone number for SMS shipments of the user by default.

Copy
<xsql-script name='system_user_getSMSAddress_sample1'>
    <body>
        <println>
            <system.user.getSMSAddress />
        </println>
    </body>
</xsql-script>

If you do not pass a user code via the attribute , the system returns the value related with the user which executes the command.

Example

Obtain the phone number for SMS shipments of a specific user.

Copy
<xsql-script name='system_user_getSMSAddress_sample2'>
    <body>
        <println>
            <system.user.getSMSAddress code='bpr'/>
        </println>
    </body>
</xsql-script>

Informing the attribute code, the system returns the value related with the specified user code.