GetAll Method (UserGrpLink)
- Last UpdatedNov 06, 2025
- 2 minute read
The GetAll() method retrieves one or more user/group link records from the User_Grp_Link table, as specified by the filter parameters. Passing no filter parameters will retrieve all user/group link records from the table.
'Declaration
Public Shared Function GetAll( _
ByVal grpId As Nullable(Of Integer), _
ByVal userId As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim grpId As Nullable(Of Integer)
Dim userId As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = UserGrpLink.GetAll(grpId, userId, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> grpId,
string userId,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- grpId
- Optional filter parameter. Holds the ID of a group.
- userId
- Optional filter parameter. Holds the ID of a user.
- lastEditBy
Optional filter parameter. Holds the ID of the user who added or last updated a user/group link record.
- lastEditAt
Optional filter parameter. Holds the date/time when a user/group link record was added or last updated.
Return Value
Returns a DataSet that contains all the records in the User_Grp_Link 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.
|
Column Name |
Description |
|---|---|
|
grp_id |
An integer that is the ID of user group. |
|
user_id |
A string that is the ID of the user. |
|
grp_desc |
A string that is the description of the user group, from the Grp_Name table. |
|
user_desc |
A string that is the description of the user, from the User_Name table. |
|
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. |