User List

Hello all,

I want to fill one combobox with all users. There are a function that allows you to have this list? What is the better way to have all users automatically?

Best Regards

Parents
  • Hi

    Technically you can use the RDBOpen("_Users") the RdbFirstRec and a while loop to cycle through the records to get the Name and/or Fullname of users from the user run time databases.

    As a note using RDB functions is not officially supported in/by Citect and you don't get help on how to use them. So it has to be absolutely necessary if you want to go down that path, ideally you don't want to be messing about with RDB files. Citect uses these functions in the include project you can search there to sort of get some guideline on how the functions are used and then you can write you own function to display a form/combo box or drop down list.

    Why do you need access to the user list on a combo box? There might be different solution to your problem than the above.

Reply
  • Hi

    Technically you can use the RDBOpen("_Users") the RdbFirstRec and a while loop to cycle through the records to get the Name and/or Fullname of users from the user run time databases.

    As a note using RDB functions is not officially supported in/by Citect and you don't get help on how to use them. So it has to be absolutely necessary if you want to go down that path, ideally you don't want to be messing about with RDB files. Citect uses these functions in the include project you can search there to sort of get some guideline on how the functions are used and then you can write you own function to display a form/combo box or drop down list.

    Why do you need access to the user list on a combo box? There might be different solution to your problem than the above.

Children
No Data