GroupInfo¶
GroupInfo is a lightweight group descriptor returned by the group-association helpers after they resolve customer-group, acronym, suffix, and phone information.
Purpose¶
- Hold the normalized group data returned by
mdlGroupAssociationhelper functions. - Derive source-system identifiers from the resolved group fields.
Context¶
- Namespace:
SAIF.Business.External.Users - Assembly/package:
SAIF.BOF.Business.External.Users - Defined in:
mdlGroupAssociation.vb
Public members¶
| Member | Signature | Purpose |
|---|---|---|
Code |
Public Property Code As String |
Get or set the base group code. |
ParentGroup |
Public Property ParentGroup As String |
Get or set the parent-group code. |
Acronym |
Public Property Acronym As String |
Get or set the group acronym. |
Suffix |
Public Property Suffix As String |
Get or set the resolved suffix appended to some source-system identifiers. |
Phone |
Public Property Phone As String |
Get or set the phone number associated with the group. |
IsParentGroup |
Public Property IsParentGroup As Boolean |
Get or set whether the resolved match came from a parent-group lookup. |
New |
Public Sub New(ByVal code As String, ByVal parentGroup As String, ByVal acronym As String, ByVal suffix As String, ByVal phone As String, isParentGroup As Boolean) |
Initialize a new GroupInfo instance from resolved group fields. |
SourceSystemID |
Public ReadOnly Property SourceSystemID As String |
Return the uppercase source-system identifier, using ParentGroup for parent-group matches or Code + Suffix otherwise. |
CustomerGroup |
Public ReadOnly Property CustomerGroup As String |
Return the uppercase customer-group identifier, using ParentGroup for parent-group matches or Code otherwise. |
SourceSystemGroupID |
Public ReadOnly Property SourceSystemGroupID As String |
Return the uppercase source-system-group identifier, using ParentGroup for parent-group matches or Acronym otherwise. |
Behavioral notes¶
- The computed identifier properties switch between parent-group and direct-group fields based on
IsParentGroup.
Constraints and usage notes¶
LoadGroup(...)andLoadLossControlGroup(...)populate this class;LoadRTWGroup(...)returns a string instead of aGroupInfoinstance.
Sources¶
Business\SAIF.Business.External.Users\mdlGroupAssociation.vb