GetAll Method (Priv)
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Shared Function GetAll( _
ByVal privId As Nullable(Of Integer), _
ByVal privDesc As String, _
ByVal privGrp As String, _
ByVal editType As Nullable(Of Integer), _
ByVal privConstraints As String, _
ByVal reqdLic As String _
) As DataSet
'Usage
Dim privId As Nullable(Of Integer)
Dim privDesc As String
Dim privGrp As String
Dim editType As Nullable(Of Integer)
Dim privConstraints As String
Dim reqdLic As String
Dim value As DataSet
value = Priv.GetAll(privId, privDesc, privGrp, editType, privConstraints, reqdLic)
public static DataSet GetAll(
Nullable<int> privId,
string privDesc,
string privGrp,
Nullable<int> editType,
string privConstraints,
string reqdLic
)
Parameters
- privId
- Optional filter parameter. Holds the ID for a privilege.
- privDesc
- Optional filter parameter. Holds the description of a privilege.
- privGrp
- Optional filter parameter. Holds the group for a privilege.
- editType
- Optional filter parameter. Holds a privilege edit type.
- privConstraints
- Optional filter parameter. Holds privilege constraints.
- reqdLic
- Optional filter parameter. Holds the license that is required for a privilege to be editable.
Return Value
Returns a DataSet that contains the records in the Priv 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 |
|---|---|
|
priv_id |
An integer that is the ID of the privilege |
|
priv_desc |
A string that is the description of the privilege |
|
priv_grp |
A group to which the privilege belongs |
|
edit_type |
An integer that is the type of data this attribute contains and thus how to edit the attribute. |
|
priv_constraints |
A string that is the extra editing information. Edit constraints for the privilege (can be two numbers separated by a colon for upper and lower bounds of an integer value or can be strings separated by colons for the values in a drop-down list) |
|
reqd_lic |
A string that is the licenses required for the system attribute to be editable. A number or list of numbers representing the client types that must be licensed for the privilege to be valid. If a list of numbers is supplied, they are separated by a vertical pipe (|) signifying that at least one of the client types must be licensed. |