GetAll Method (GrpName)
- Last UpdatedNov 06, 2025
- 2 minute read
The GetAll() method retrieves one or more group name records from the Grp_Name table, as specified by the filter parameters. Passing no filter parameters will retrieve all group name records from the table.
'Declaration
Public Shared Function GetAll( _
ByVal grpId As Nullable(Of Integer), _
ByVal grpDesc As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim grpId As Nullable(Of Integer)
Dim grpDesc As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = GrpName.GetAll(grpId, grpDesc, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> grpId,
string grpDesc,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- grpId
Optional filter parameter. Holds the group ID of a user group.
- grpDesc
Optional filter parameter. Holds the description of a user group.
- lastEditBy
Optional filter parameter. Holds the ID of the user who added or last updated a group name record.
- lastEditAt
Optional filter parameter. Holds the date/time when a group name record was added or last updated.
Return Value
Returns a DataSet that contains all the records in the Grp_Name table that satisfy the specified filters. If no matching records are found, an empty DataSet is returned. The columns of the returned DataSet are described below.
The columns of the returned DataSet are described below.
| Column Name | Description |
|---|---|
| grp_id | An integer that is the ID of the group. |
| grp_desc | A string that is the description of the group. |
| last_edit_comment | A string that contains comments about why the record was added or updated. |
| last_edit_by | A string that is the ID of the user who added or last updated this record. |
| last_edit_at | A date/time that indicates when the record was added or last updated. |
| last_edit_by | A string that is the ID of the user who added or last updated this record. |
| auth_method |
An integer that is an enumeration that indicates the authentication method. 0 = internal 1 = Windows (future) |