Determines if the indicated user dispose of the SMS service configurated.

1 system.user.hasSMSEnabled

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

Determine if the user by default dispose of the SMS service configurated.

Copy
<xsql-script name='system_user_hasSMSEnabled_sample1'>
    <body>
        <println>
            <system.user.hasSMSEnabled />
        </println>
    </body>
</xsql-script>

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

Example

Determine if the indicated user dispose of the SMS service configurated.

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

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