Mendix client API #
This list is not complete, and these functions are not documented by Mendix. Which means support is limited.
Returns object with the user locale info (language code, first day of the week, date and number patterns etc.) of the current user.
Returns array with objects containing the constants exposed to client.
Returns array with objects containing all entities and attributes available to the current user1.
Similar to the mx.meta.getMap();
Returns array of user roles of current user.
Returns object current user (system.user or it’s specialization administration.account, company.employee) with attributes and it’s values.
Returns integer sessionObjectId
Demo Users #
Returns an array with objects containing the demo users; username, password and roles.
Returns array with objects containing all entities and attributes available to the user1.
Similar to the mx.session.getConfig(“metadata”)
This feature is often used to do a scripted security scan. Can also be abused to leak data and I hope Mendix removes these features from the client api to make it a bit harder to detect for bad actors which entities are unprotected. ↩︎