PopulateComboBoxWithUsers Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopulateComboBoxWithUsers() method populates the specified combo box with users. The format of the users is determined by the User Display system parameter.
'Declaration
Public Shared Sub PopulateComboBoxWithUsers( _
ByVal cboUsers As ComboBox, _
ByVal includeEmptyDesc As Boolean, _
ByVal activeOnly As Boolean _
)
public static void PopulateComboBoxWithUsers(
ComboBox cboUsers,
bool includeEmptyDesc,
bool activeOnly
)
Parameters
- cboUsers
- Required. Holds the combo box to populate with users.
- includeEmptyDesc
- Holds a flag that, if set to true, specifies that an empty entry be placed at the beginning of the combo box.
- activeOnly
- Required. Holds a flag that, if set to true, specifies that only active users should be loaded into the combo box.