GetEntAccByGroups Method
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Shared Function GetEntAccByGroups( _
ByVal securityIds() As String, _
ByVal entId As Nullable(Of Integer) _
) As DataSet
'Usage
Dim securityIds() As String
Dim entId As Nullable(Of Integer)
Dim value As DataSet
value = GrpEntLink.GetEntAccByGroups(securityIds, entId)
public static DataSet GetEntAccByGroups(
string[] securityIds,
Nullable<int> entId
)
Parameters
- securityIds
- Required. Holds an array of SIDs that represent the OS groups to which the user belongs.
- entId
- Optional. Holds the ID of the entity.
Return Value
Returns a DataSet that contains the list of entities related to OS groups matching the supplied SIDs. The returned records include columns from the Ent and Grp_Ent_Link tables. If no matching data is found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
ent_id |
An integer that is the ID of the entity. |
|
ent_name |
A string that is the description of the entity, from the Ent table. |
|
can_sched_jobs |
A Boolean that is a flag that specifies whether jobs may be scheduled to this entity, from the Ent table. |
|
can_run_jobs |
A Boolean that is a flag that specifies whether jobs may run on this entity, from the Ent table. |
|
can_capture_util |
A Boolean that is a flag that specifies whether utilization data may be captured on this entity, from the Ent table. |
|
can_capture_labor |
A Boolean that is a flag that specifies whether labor data may be captured on this entity, from the Ent table. |
|
can_do_dnc |
Not used. Will always return False. |
|
can_store |
A Boolean that is a flag that specifies if this entity is a “warehouse” or storage location, from the Ent table. |
|
can_log_data |
A Boolean that is a flag that specifies whether this entity supports data logging, from the Ent table. |
|
parent_ent_id |
An integer that is the ID of the parent entity. |
|
access |
A Booolean that is a flag that specifies whether any of the user groups to which the user belongs may log onto the entity. |