Answer the question
In order to leave comments, you need to log in
How to display all users bound to an element?
Good afternoon!
Question.
There is an element, several Users are bound to it through a custom property,
the ID of the element to which users are bound. Do you know how to display the IDs of all users bound to this element?
Answer the question
In order to leave comments, you need to log in
CUser::GetList
$arFilter = array(
'=UF_ELEMENT' => $iElementId
);
$elementsResult = CUser::GetList(($by="ID"), ($order="DESC"), $arFilter);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question