Categories
Is it possible to get information about the current user using BX?
Is it possible to somehow get information about the current user from the BX object?
Answer the question
In order to leave comments, you need to log in
BX.message('USER_ID'); Returns the user ID as a string, if not authorized then an empty string Nothing prevents you from pushing data from PHP into JS using the built-in method
BX.message('USER_ID');
let something = <?=CUtil::PhpToJSObject($someArray)?>;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question