GetEntLogonList(String,String,String,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetEntLogonList() method retrieves the entities available for control by the specified user and that are included in the specified entity list, from the Ent_Logon_List table. The list can be all the entities to which the user has access, all the entities in the user's default list, or all the entities last used by the user.
If optionally filtering the results by a specific entity, this overload of the method specifies the entity by its name and its site name.
public static DataSet GetEntLogonList(
string userId,
string listId,
string entName,
string siteName
)
Parameters
- userId
- Optional. Holds the ID of the user who is logging on to the session.
- listId
Optional. Holds the LogOnEntListStandardListId enumeration for indicating the source for the list of entities.
- entName
- Optional. Holds the name of the entity by which to filter the entity list that is being retrieved.
- siteName
- Optional. Holds the site name of the entity by which to filter the entity list that is being retrieved.
Return Value
Returns a DataSet that contains all entity records in the Ent_Logon_List table that match the specified filter parameters. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
user_id |
A string that is the user who owns the list, from the Ent_Logon_List table. |
|
list_id |
A string that is the ID of the list that contains the list of entities. |
|
ent_id |
An integer that is the ID of the entity that is associated to this list. |
|
ent_name |
A string that is the name of the entity, from the ent.ent_name linked to this entity. |
|
cur_lab_cd |
A string that is the default labor code for this user/entity. |
|
lab_desc |
A string that is the description of the labor code, from labor_cat.lab_desc column linked to this labor code. |
|
pct_lab_to_apply |
A double that is the default percentage of labor time to apply, if logged onto more than one entity at a time. |
|
cur_lab_dept_id |
A string that is the default labor department. |
|
last_edit_comment |
A string that contains comments about why the record was changed. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
last_edit_at |
A datetime that is the date/time when the record was added or last updated. |